Make another static array const.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 5 Nov 2011 14:27:13 +0000 (15:27 +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/formats.c

index 46698ef..b77ca8a 100644 (file)
@@ -172,7 +172,7 @@ AVFilterFormats *avfilter_make_all_channel_layouts(void)
 
 AVFilterFormats *avfilter_make_all_packing_formats(void)
 {
-    static int packing[] = {
+    static const int packing[] = {
         AVFILTER_PACKED,
         AVFILTER_PLANAR,
         -1,