Commit 3bcde3f0 authored by Stefano Sabatini's avatar Stefano Sabatini

lavfi/drawutils: make ff_draw_color() accept a const rgba map

parent 65520f59
...@@ -173,7 +173,7 @@ int ff_draw_init(FFDrawContext *draw, enum PixelFormat format, unsigned flags) ...@@ -173,7 +173,7 @@ int ff_draw_init(FFDrawContext *draw, enum PixelFormat format, unsigned flags)
return 0; 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; unsigned i;
uint8_t rgba_map[4]; uint8_t rgba_map[4];
......
...@@ -79,7 +79,7 @@ int ff_draw_init(FFDrawContext *draw, enum PixelFormat format, unsigned flags); ...@@ -79,7 +79,7 @@ int ff_draw_init(FFDrawContext *draw, enum PixelFormat format, unsigned flags);
/** /**
* Prepare a color. * 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. * Copy a rectangle from an image to another.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment