Mercurial > libavcodec.hg
comparison rv20enc.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 | 988e20e4da2f |
children | 86bf7e0db6ea |
comparison
equal
deleted
inserted
replaced
10145:7955db355703 | 10146:38cfe222e1a4 |
---|---|
62 CODEC_ID_RV20, | 62 CODEC_ID_RV20, |
63 sizeof(MpegEncContext), | 63 sizeof(MpegEncContext), |
64 MPV_encode_init, | 64 MPV_encode_init, |
65 MPV_encode_picture, | 65 MPV_encode_picture, |
66 MPV_encode_end, | 66 MPV_encode_end, |
67 .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | 67 .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, |
68 .long_name= NULL_IF_CONFIG_SMALL("RealVideo 2.0"), | 68 .long_name= NULL_IF_CONFIG_SMALL("RealVideo 2.0"), |
69 }; | 69 }; |