diff options
author | Stefan Gehrer <stefan.gehrer@gmx.de> | 2008-06-24 20:01:31 +0000 |
---|---|---|
committer | Stefan Gehrer <stefan.gehrer@gmx.de> | 2008-06-24 20:01:31 +0000 |
commit | cf2baeb3382283d41eac7886ea831f52262971ba (patch) | |
tree | 986724da3ac8630b2903b8edc7a89498e2baf854 /libavcodec/utils.c | |
parent | 73cc419b271ac5af8c1aed36b5c0167c7016127a (diff) | |
download | ffmpeg-cf2baeb3382283d41eac7886ea831f52262971ba.tar.gz |
mark read-only data as const
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index ed93f75050..8c180088c1 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1369,7 +1369,7 @@ typedef struct { int rate_num, rate_den; } VideoFrameRateAbbr; -static VideoFrameSizeAbbr video_frame_size_abbrs[] = { +static const VideoFrameSizeAbbr video_frame_size_abbrs[] = { { "ntsc", 720, 480 }, { "pal", 720, 576 }, { "qntsc", 352, 240 }, /* VCD compliant NTSC */ @@ -1408,7 +1408,7 @@ static VideoFrameSizeAbbr video_frame_size_abbrs[] = { { "hd1080", 1920,1080 }, }; -static VideoFrameRateAbbr video_frame_rate_abbrs[]= { +static const VideoFrameRateAbbr video_frame_rate_abbrs[]= { { "ntsc", 30000, 1001 }, { "pal", 25, 1 }, { "qntsc", 30000, 1001 }, /* VCD compliant NTSC */ |