Mercurial > libavcodec.hg
comparison wmv2enc.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 | 7eb3d9ab4752 |
children | d0657e337f91 |
comparison
equal
deleted
inserted
replaced
10145:7955db355703 | 10146:38cfe222e1a4 |
---|---|
216 CODEC_ID_WMV2, | 216 CODEC_ID_WMV2, |
217 sizeof(Wmv2Context), | 217 sizeof(Wmv2Context), |
218 wmv2_encode_init, | 218 wmv2_encode_init, |
219 MPV_encode_picture, | 219 MPV_encode_picture, |
220 MPV_encode_end, | 220 MPV_encode_end, |
221 .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | 221 .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, |
222 .long_name= NULL_IF_CONFIG_SMALL("Windows Media Video 8"), | 222 .long_name= NULL_IF_CONFIG_SMALL("Windows Media Video 8"), |
223 }; | 223 }; |