Mercurial > libavcodec.hg
diff utils.c @ 7129:322023e630a6 libavcodec
mark read-only data as const
author | stefang |
---|---|
date | Tue, 24 Jun 2008 20:01:31 +0000 |
parents | b385bb078223 |
children | 05c4de3904f6 |
line wrap: on
line diff
--- a/utils.c Tue Jun 24 18:38:55 2008 +0000 +++ b/utils.c Tue Jun 24 20:01:31 2008 +0000 @@ -1369,7 +1369,7 @@ 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 @@ { "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 */