diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-12-21 22:38:59 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-12-21 22:38:59 +0000 |
commit | 185d1f3bfcace747aed74e695447104e977b4455 (patch) | |
tree | 490fbd157e063fa5a39eb57614b9c40643c8e704 /libavfilter/vf_removelogo.c | |
parent | 165be91c2bd5cc748ebda8932a5e2ca9f4d52f6d (diff) | |
download | ffmpeg-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.c | 2 |
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; } |