aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_removelogo.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-12-21 22:38:59 +0000
committerPaul B Mahol <onemda@gmail.com>2012-12-21 22:38:59 +0000
commit185d1f3bfcace747aed74e695447104e977b4455 (patch)
tree490fbd157e063fa5a39eb57614b9c40643c8e704 /libavfilter/vf_removelogo.c
parent165be91c2bd5cc748ebda8932a5e2ca9f4d52f6d (diff)
downloadffmpeg-185d1f3bfcace747aed74e695447104e977b4455.tar.gz
lavfi: declare arrays that never change as static const
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_removelogo.c')
-rw-r--r--libavfilter/vf_removelogo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_removelogo.c b/libavfilter/vf_removelogo.c
index f3d8d7bd44..ddaf9ef4ca 100644
--- a/libavfilter/vf_removelogo.c
+++ b/libavfilter/vf_removelogo.c
@@ -192,7 +192,7 @@ static void convert_mask_to_strength_mask(uint8_t *data, int linesize,
static int query_formats(AVFilterContext *ctx)
{
- enum AVPixelFormat pix_fmts[] = { AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE };
+ static const enum AVPixelFormat pix_fmts[] = { AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE };
ff_set_common_formats(ctx, ff_make_format_list(pix_fmts));
return 0;
}