Make another PixelFormat list const.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 5 Nov 2011 14:22:45 +0000 (15:22 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 5 Nov 2011 14:37:02 +0000 (15:37 +0100)
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavfilter/vf_overlay.c

index 6ea90dd..a5b59e2 100644 (file)
@@ -183,7 +183,7 @@ static int query_formats(AVFilterContext *ctx)
     return 0;
 }
 
-static enum PixelFormat alpha_pix_fmts[] = {
+static const enum PixelFormat alpha_pix_fmts[] = {
     PIX_FMT_YUVA420P, PIX_FMT_ARGB, PIX_FMT_ABGR, PIX_FMT_RGBA,
     PIX_FMT_BGRA, PIX_FMT_NONE
 };