Revision 72415b2a libavformat/segafilm.c

View differences:

libavformat/segafilm.c
133 133
        if (!st)
134 134
            return AVERROR(ENOMEM);
135 135
        film->video_stream_index = st->index;
136
        st->codec->codec_type = CODEC_TYPE_VIDEO;
136
        st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
137 137
        st->codec->codec_id = film->video_type;
138 138
        st->codec->codec_tag = 0;  /* no fourcc */
139 139
        st->codec->width = AV_RB32(&scratch[16]);
......
145 145
        if (!st)
146 146
            return AVERROR(ENOMEM);
147 147
        film->audio_stream_index = st->index;
148
        st->codec->codec_type = CODEC_TYPE_AUDIO;
148
        st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
149 149
        st->codec->codec_id = film->audio_type;
150 150
        st->codec->codec_tag = 1;
151 151
        st->codec->channels = film->audio_channels;

Also available in: Unified diff