Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-08-02 01:52:25 +0400
committerStefano Sabatini <stefasab@gmail.com>2012-08-02 14:32:48 +0400
commit3bcde3f06c6ad397cd3b99c786829db132d26c87 (patch)
treeefc70f94727bd3d96dd24a451f9680ae0a385c84 /libavfilter
parent65520f5933b41f779a161c3896c64e63007b6f38 (diff)
lavfi/drawutils: make ff_draw_color() accept a const rgba map
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/drawutils.c2
-rw-r--r--libavfilter/drawutils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/drawutils.c b/libavfilter/drawutils.c
index 83968abf7d..0a6435a299 100644
--- a/libavfilter/drawutils.c
+++ b/libavfilter/drawutils.c
@@ -173,7 +173,7 @@ int ff_draw_init(FFDrawContext *draw, enum PixelFormat format, unsigned flags)
return 0;
}
-void ff_draw_color(FFDrawContext *draw, FFDrawColor *color, uint8_t rgba[4])
+void ff_draw_color(FFDrawContext *draw, FFDrawColor *color, const uint8_t rgba[4])
{
unsigned i;
uint8_t rgba_map[4];
diff --git a/libavfilter/drawutils.h b/libavfilter/drawutils.h
index 29aa94b0fb..211810a203 100644
--- a/libavfilter/drawutils.h
+++ b/libavfilter/drawutils.h
@@ -79,7 +79,7 @@ int ff_draw_init(FFDrawContext *draw, enum PixelFormat format, unsigned flags);
/**
* Prepare a color.
*/
-void ff_draw_color(FFDrawContext *draw, FFDrawColor *color, uint8_t rgba[4]);
+void ff_draw_color(FFDrawContext *draw, FFDrawColor *color, const uint8_t rgba[4]);
/**
* Copy a rectangle from an image to another.