comparison v210enc.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 4f974b8d8851
children a48c43551737
comparison
equal deleted inserted replaced
10145:7955db355703 10146:38cfe222e1a4
123 CODEC_ID_V210, 123 CODEC_ID_V210,
124 0, 124 0,
125 encode_init, 125 encode_init,
126 encode_frame, 126 encode_frame,
127 encode_close, 127 encode_close,
128 .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV422P16, PIX_FMT_NONE}, 128 .pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV422P16, PIX_FMT_NONE},
129 .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"), 129 .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
130 }; 130 };