Mercurial > libavcodec.hg
comparison flashsvenc.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 | 4cb7c65fc775 |
children | d7ed9dcc78e3 |
comparison
equal
deleted
inserted
replaced
10145:7955db355703 | 10146:38cfe222e1a4 |
---|---|
290 CODEC_ID_FLASHSV, | 290 CODEC_ID_FLASHSV, |
291 sizeof(FlashSVContext), | 291 sizeof(FlashSVContext), |
292 flashsv_encode_init, | 292 flashsv_encode_init, |
293 flashsv_encode_frame, | 293 flashsv_encode_frame, |
294 flashsv_encode_end, | 294 flashsv_encode_end, |
295 .pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, | 295 .pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, |
296 .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video"), | 296 .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video"), |
297 }; | 297 }; |
298 | 298 |