From 067180220d768ca5893f89fe881b4e4541165b28 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Wed, 21 Oct 2009 21:04:53 +0000 Subject: [PATCH] Make the pix_fmts var in query_formats() static const. Originally committed as revision 20343 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/vf_crop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c index 6b1592836e..e2b9bc39b4 100644 --- a/libavfilter/vf_crop.c +++ b/libavfilter/vf_crop.c @@ -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,