Mercurial > libavcodec.hg
comparison ffv1.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 | 3ae2df444cdb |
children | 9bd282dec604 |
comparison
equal
deleted
inserted
replaced
10145:7955db355703 | 10146:38cfe222e1a4 |
---|---|
1145 CODEC_ID_FFV1, | 1145 CODEC_ID_FFV1, |
1146 sizeof(FFV1Context), | 1146 sizeof(FFV1Context), |
1147 encode_init, | 1147 encode_init, |
1148 encode_frame, | 1148 encode_frame, |
1149 common_end, | 1149 common_end, |
1150 .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV444P, PIX_FMT_YUV422P, PIX_FMT_YUV411P, PIX_FMT_YUV410P, PIX_FMT_RGB32, PIX_FMT_YUV420P16, PIX_FMT_YUV422P16, PIX_FMT_YUV444P16, PIX_FMT_NONE}, | 1150 .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV444P, PIX_FMT_YUV422P, PIX_FMT_YUV411P, PIX_FMT_YUV410P, PIX_FMT_RGB32, PIX_FMT_YUV420P16, PIX_FMT_YUV422P16, PIX_FMT_YUV444P16, PIX_FMT_NONE}, |
1151 .long_name= NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"), | 1151 .long_name= NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"), |
1152 }; | 1152 }; |
1153 #endif | 1153 #endif |