[FFmpeg-soc] [soc]: r5796 - libavfilter/vf_overlay.c
bcoudurier
subversion at mplayerhq.hu
Wed May 12 02:26:33 CEST 2010
Author: bcoudurier
Date: Wed May 12 02:26:33 2010
New Revision: 5796
Log:
add const to pix_fmt arrays
Modified:
libavfilter/vf_overlay.c
Modified: libavfilter/vf_overlay.c
==============================================================================
--- libavfilter/vf_overlay.c Wed May 12 02:10:58 2010 (r5795)
+++ libavfilter/vf_overlay.c Wed May 12 02:26:33 2010 (r5796)
@@ -84,8 +84,8 @@ static av_cold void uninit(AVFilterConte
static int query_formats(AVFilterContext *ctx)
{
- enum PixelFormat inout_pix_fmts[] = { PIX_FMT_YUV420P, PIX_FMT_NONE };
- enum PixelFormat blend_pix_fmts[] = { PIX_FMT_YUVA420P, PIX_FMT_NONE };
+ const enum PixelFormat inout_pix_fmts[] = { PIX_FMT_YUV420P, PIX_FMT_NONE };
+ const enum PixelFormat blend_pix_fmts[] = { PIX_FMT_YUVA420P, PIX_FMT_NONE };
AVFilterFormats *inout_formats = avfilter_make_format_list(inout_pix_fmts);
AVFilterFormats *blend_formats = avfilter_make_format_list(blend_pix_fmts);
More information about the FFmpeg-soc
mailing list