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/tiffenc.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/tiffenc.c')
-rw-r--r-- | libavcodec/tiffenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index 3d0619620b..7af39142c9 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -452,7 +452,7 @@ AVCodec tiff_encoder = { 0, NULL, .pix_fmts = - (enum PixelFormat[]) {PIX_FMT_RGB24, PIX_FMT_PAL8, PIX_FMT_GRAY8, + (const enum PixelFormat[]) {PIX_FMT_RGB24, PIX_FMT_PAL8, PIX_FMT_GRAY8, PIX_FMT_MONOBLACK, PIX_FMT_MONOWHITE, PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_YUV410P, |