diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-11-11 19:38:43 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-05-05 11:48:34 +0300 |
commit | 5afb94c817abffad030c6b94d7003dca8aace3d5 (patch) | |
tree | 517222058bab9a1b2ba41abd4a38280388dbf57a /libavfilter | |
parent | 1f1ad8ace040a08edc2646ff638ca42a8828779f (diff) |
Mark read-only tables as static
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_overlay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index bb7bde6f73..2fa791d001 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -99,8 +99,8 @@ static av_cold void uninit(AVFilterContext *ctx) static int query_formats(AVFilterContext *ctx) { - const enum AVPixelFormat inout_pix_fmts[] = { AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE }; - const enum AVPixelFormat blend_pix_fmts[] = { AV_PIX_FMT_YUVA420P, AV_PIX_FMT_NONE }; + static const enum AVPixelFormat inout_pix_fmts[] = { AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE }; + static const enum AVPixelFormat blend_pix_fmts[] = { AV_PIX_FMT_YUVA420P, AV_PIX_FMT_NONE }; AVFilterFormats *inout_formats = ff_make_format_list(inout_pix_fmts); AVFilterFormats *blend_formats = ff_make_format_list(blend_pix_fmts); |