Mercurial > libavcodec.hg
comparison flashsv.c @ 10146:38cfe222e1a4 libavcodec
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.
author | reimar |
---|---|
date | Sun, 06 Sep 2009 16:09:21 +0000 |
parents | 0dce4fe6e6f3 |
children | 6110cd97dc8e |
comparison
equal
deleted
inserted
replaced
10145:7955db355703 | 10146:38cfe222e1a4 |
---|---|
254 flashsv_decode_init, | 254 flashsv_decode_init, |
255 NULL, | 255 NULL, |
256 flashsv_decode_end, | 256 flashsv_decode_end, |
257 flashsv_decode_frame, | 257 flashsv_decode_frame, |
258 CODEC_CAP_DR1, | 258 CODEC_CAP_DR1, |
259 .pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, | 259 .pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, |
260 .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"), | 260 .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"), |
261 }; | 261 }; |