[FFmpeg-cvslog] r20343 - trunk/libavfilter/vf_crop.c

stefano subversion
Wed Oct 21 23:04:53 CEST 2009


Author: stefano
Date: Wed Oct 21 23:04:53 2009
New Revision: 20343

Log:
Make the pix_fmts var in query_formats() static const.

Modified:
   trunk/libavfilter/vf_crop.c

Modified: trunk/libavfilter/vf_crop.c
==============================================================================
--- trunk/libavfilter/vf_crop.c	Wed Oct 21 22:57:30 2009	(r20342)
+++ trunk/libavfilter/vf_crop.c	Wed Oct 21 23:04:53 2009	(r20343)
@@ -37,7 +37,7 @@ typedef struct {
 
 static int query_formats(AVFilterContext *ctx)
 {
-    enum PixelFormat pix_fmts[] = {
+    static const enum PixelFormat pix_fmts[] = {
         PIX_FMT_RGB48BE,      PIX_FMT_RGB48LE,
         PIX_FMT_ARGB,         PIX_FMT_RGBA,
         PIX_FMT_ABGR,         PIX_FMT_BGRA,



More information about the ffmpeg-cvslog mailing list