aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-10-21 21:04:53 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-10-21 21:04:53 +0000
commit067180220d768ca5893f89fe881b4e4541165b28 (patch)
tree9bcbeb022bed4663c03525f92b093d0d86fe9b64
parent190c166960b88f1b27932e1f274dd494862e8449 (diff)
downloadffmpeg-067180220d768ca5893f89fe881b4e4541165b28.tar.gz
Make the pix_fmts var in query_formats() static const.
Originally committed as revision 20343 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavfilter/vf_crop.c2
1 files changed, 1 insertions, 1 deletions
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,