Revision 72415b2a libavformat/wc3movie.c

View differences:

libavformat/wc3movie.c
243 243
        return AVERROR(ENOMEM);
244 244
    av_set_pts_info(st, 33, 1, WC3_FRAME_FPS);
245 245
    wc3->video_stream_index = st->index;
246
    st->codec->codec_type = CODEC_TYPE_VIDEO;
246
    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
247 247
    st->codec->codec_id = CODEC_ID_XAN_WC3;
248 248
    st->codec->codec_tag = 0;  /* no fourcc */
249 249
    st->codec->width = wc3->width;
......
257 257
        return AVERROR(ENOMEM);
258 258
    av_set_pts_info(st, 33, 1, WC3_FRAME_FPS);
259 259
    wc3->audio_stream_index = st->index;
260
    st->codec->codec_type = CODEC_TYPE_AUDIO;
260
    st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
261 261
    st->codec->codec_id = CODEC_ID_PCM_S16LE;
262 262
    st->codec->codec_tag = 1;
263 263
    st->codec->channels = WC3_AUDIO_CHANNELS;

Also available in: Unified diff