Revision 72415b2a libavformat/electronicarts.c

View differences:

libavformat/electronicarts.c
414 414
        if (!st)
415 415
            return AVERROR(ENOMEM);
416 416
        ea->video_stream_index = st->index;
417
        st->codec->codec_type = CODEC_TYPE_VIDEO;
417
        st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
418 418
        st->codec->codec_id = ea->video_codec;
419 419
        st->codec->codec_tag = 0;  /* no fourcc */
420 420
        st->codec->time_base = ea->time_base;
......
428 428
        if (!st)
429 429
            return AVERROR(ENOMEM);
430 430
        av_set_pts_info(st, 33, 1, ea->sample_rate);
431
        st->codec->codec_type = CODEC_TYPE_AUDIO;
431
        st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
432 432
        st->codec->codec_id = ea->audio_codec;
433 433
        st->codec->codec_tag = 0;  /* no tag */
434 434
        st->codec->channels = ea->num_channels;

Also available in: Unified diff