diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-09-06 16:09:21 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-09-06 16:09:21 +0000 |
commit | 2ba8301769b770ec96ea8f4c02da78a25c6458fe (patch) | |
tree | 0f2fa2e8597e9f49f5c8487bb73c3dab4a7de0d3 /libavcodec/bmpenc.c | |
parent | af8aae3fa31f8e7ed0645b3bbbc62ea5dc47e09c (diff) | |
download | ffmpeg-2ba8301769b770ec96ea8f4c02da78a25c6458fe.tar.gz |
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.
Originally committed as revision 19789 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bmpenc.c')
-rw-r--r-- | libavcodec/bmpenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bmpenc.c b/libavcodec/bmpenc.c index 578813af60..34362b8529 100644 --- a/libavcodec/bmpenc.c +++ b/libavcodec/bmpenc.c @@ -139,7 +139,7 @@ AVCodec bmp_encoder = { bmp_encode_init, bmp_encode_frame, NULL, //encode_end, - .pix_fmts = (enum PixelFormat[]){ + .pix_fmts = (const enum PixelFormat[]){ PIX_FMT_BGR24, PIX_FMT_RGB555, PIX_FMT_RGB565, PIX_FMT_RGB8, PIX_FMT_BGR8, PIX_FMT_RGB4_BYTE, PIX_FMT_BGR4_BYTE, PIX_FMT_GRAY8, PIX_FMT_PAL8, |