Browse code

Make another PixelFormat list const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>

Reimar Döffinger authored on 2011/11/05 23:22:45
Showing 1 changed files
... ...
@@ -183,7 +183,7 @@ static int query_formats(AVFilterContext *ctx)
183 183
     return 0;
184 184
 }
185 185
 
186
-static enum PixelFormat alpha_pix_fmts[] = {
186
+static const enum PixelFormat alpha_pix_fmts[] = {
187 187
     PIX_FMT_YUVA420P, PIX_FMT_ARGB, PIX_FMT_ABGR, PIX_FMT_RGBA,
188 188
     PIX_FMT_BGRA, PIX_FMT_NONE
189 189
 };