From 2ba8301769b770ec96ea8f4c02da78a25c6458fe Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sun, 6 Sep 2009 16:09:21 +0000 Subject: Mark all pix_fmts and supported_framerates compound literals as const. Makes no difference for gcc but at least icc can put them in .rodata then. Originally committed as revision 19789 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/flashsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/flashsv.c') diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c index 20c85e3ac0..dd8236018a 100644 --- a/libavcodec/flashsv.c +++ b/libavcodec/flashsv.c @@ -256,6 +256,6 @@ AVCodec flashsv_decoder = { flashsv_decode_end, flashsv_decode_frame, CODEC_CAP_DR1, - .pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, + .pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"), }; -- cgit v1.2.3