aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_delogo.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_delogo.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_delogo.c')
-rw-r--r--libavfilter/vf_delogo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c
index d6b88d93eb..9a22a63b63 100644
--- a/libavfilter/vf_delogo.c
+++ b/libavfilter/vf_delogo.c
@@ -157,7 +157,7 @@ AVFILTER_DEFINE_CLASS(delogo);
static int query_formats(AVFilterContext *ctx)
{
- enum AVPixelFormat pix_fmts[] = {
+ static const enum AVPixelFormat pix_fmts[] = {
AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV420P,
AV_PIX_FMT_YUV411P, AV_PIX_FMT_YUV410P, AV_PIX_FMT_YUV440P,
AV_PIX_FMT_YUVA420P, AV_PIX_FMT_GRAY8,