Revision 72415b2a libavformat/4xm.c

View differences:

libavformat/4xm.c
149 149

  
150 150
            fourxm->video_stream_index = st->index;
151 151

  
152
            st->codec->codec_type = CODEC_TYPE_VIDEO;
152
            st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
153 153
            st->codec->codec_id = CODEC_ID_4XM;
154 154
            st->codec->extradata_size = 4;
155 155
            st->codec->extradata = av_malloc(4);
......
198 198

  
199 199
            fourxm->tracks[current_track].stream_index = st->index;
200 200

  
201
            st->codec->codec_type = CODEC_TYPE_AUDIO;
201
            st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
202 202
            st->codec->codec_tag = 0;
203 203
            st->codec->channels              = fourxm->tracks[current_track].channels;
204 204
            st->codec->sample_rate           = fourxm->tracks[current_track].sample_rate;

Also available in: Unified diff