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/vc1dec.c | |
parent | af8aae3fa31f8e7ed0645b3bbbc62ea5dc47e09c (diff) | |
download | ffmpeg-streaming-2ba8301769b770ec96ea8f4c02da78a25c6458fe.zip ffmpeg-streaming-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/vc1dec.c')
-rw-r--r-- | libavcodec/vc1dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 998428d..0a59bd2 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -3363,7 +3363,7 @@ AVCodec wmv3_vdpau_decoder = { CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_HWACCEL_VDPAU, NULL, .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 VDPAU"), - .pix_fmts = (enum PixelFormat[]){PIX_FMT_VDPAU_WMV3, PIX_FMT_NONE} + .pix_fmts = (const enum PixelFormat[]){PIX_FMT_VDPAU_WMV3, PIX_FMT_NONE} }; #endif @@ -3380,6 +3380,6 @@ AVCodec vc1_vdpau_decoder = { CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_HWACCEL_VDPAU, NULL, .long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1 VDPAU"), - .pix_fmts = (enum PixelFormat[]){PIX_FMT_VDPAU_VC1, PIX_FMT_NONE} + .pix_fmts = (const enum PixelFormat[]){PIX_FMT_VDPAU_VC1, PIX_FMT_NONE} }; #endif |