Revision 72415b2a libavformat/ipmovie.c

View differences:

libavformat/ipmovie.c
566 566
        return AVERROR(ENOMEM);
567 567
    av_set_pts_info(st, 63, 1, 1000000);
568 568
    ipmovie->video_stream_index = st->index;
569
    st->codec->codec_type = CODEC_TYPE_VIDEO;
569
    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
570 570
    st->codec->codec_id = CODEC_ID_INTERPLAY_VIDEO;
571 571
    st->codec->codec_tag = 0;  /* no fourcc */
572 572
    st->codec->width = ipmovie->video_width;
......
582 582
            return AVERROR(ENOMEM);
583 583
        av_set_pts_info(st, 32, 1, ipmovie->audio_sample_rate);
584 584
        ipmovie->audio_stream_index = st->index;
585
        st->codec->codec_type = CODEC_TYPE_AUDIO;
585
        st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
586 586
        st->codec->codec_id = ipmovie->audio_type;
587 587
        st->codec->codec_tag = 0;  /* no tag */
588 588
        st->codec->channels = ipmovie->audio_channels;

Also available in: Unified diff