Revision 72415b2a libavformat/sierravmd.c

View differences:

libavformat/sierravmd.c
109 109
        return AVERROR(ENOMEM);
110 110
    av_set_pts_info(vst, 33, 1, 10);
111 111
    vmd->video_stream_index = vst->index;
112
    vst->codec->codec_type = CODEC_TYPE_VIDEO;
112
    vst->codec->codec_type = AVMEDIA_TYPE_VIDEO;
113 113
    vst->codec->codec_id = vmd->is_indeo3 ? CODEC_ID_INDEO3 : CODEC_ID_VMDVIDEO;
114 114
    vst->codec->codec_tag = 0;  /* no fourcc */
115 115
    vst->codec->width = AV_RL16(&vmd->vmd_header[12]);
......
129 129
        if (!st)
130 130
            return AVERROR(ENOMEM);
131 131
        vmd->audio_stream_index = st->index;
132
        st->codec->codec_type = CODEC_TYPE_AUDIO;
132
        st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
133 133
        st->codec->codec_id = CODEC_ID_VMDAUDIO;
134 134
        st->codec->codec_tag = 0;  /* no fourcc */
135 135
        st->codec->channels = (vmd->vmd_header[811] & 0x80) ? 2 : 1;

Also available in: Unified diff