[FFmpeg-cvslog] Make another static array const.

Reimar Döffinger git at videolan.org
Sat Nov 5 15:45:28 CET 2011


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat Nov  5 15:27:13 2011 +0100| [b052601b9590b1020619bdccae6739808d0fe2b2] | committer: Reimar Döffinger

Make another static array const.

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b052601b9590b1020619bdccae6739808d0fe2b2
---

 libavfilter/formats.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/formats.c b/libavfilter/formats.c
index 46698ef..b77ca8a 100644
--- a/libavfilter/formats.c
+++ b/libavfilter/formats.c
@@ -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,



More information about the ffmpeg-cvslog mailing list