Make ogg_codec_t descriptions const

Originally committed as revision 14948 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger
2008-08-24 17:09:15 +00:00
parent c18545929e
commit cd34bc7617
7 changed files with 20 additions and 20 deletions

View File

@ -149,28 +149,28 @@ ogm_packet(AVFormatContext *s, int idx)
return 0;
}
ogg_codec_t ogm_video_codec = {
const ogg_codec_t ogm_video_codec = {
.magic = "\001video",
.magicsize = 6,
.header = ogm_header,
.packet = ogm_packet
};
ogg_codec_t ogm_audio_codec = {
const ogg_codec_t ogm_audio_codec = {
.magic = "\001audio",
.magicsize = 6,
.header = ogm_header,
.packet = ogm_packet
};
ogg_codec_t ogm_text_codec = {
const ogg_codec_t ogm_text_codec = {
.magic = "\001text",
.magicsize = 5,
.header = ogm_header,
.packet = ogm_packet
};
ogg_codec_t ogm_old_codec = {
const ogg_codec_t ogm_old_codec = {
.magic = "\001Direct Show Samples embedded in Ogg",
.magicsize = 35,
.header = ogm_dshow_header,