Revision 72415b2a libavformat/nuv.c

View differences:

libavformat/nuv.c
155 155
        vst = av_new_stream(s, ctx->v_id);
156 156
        if (!vst)
157 157
            return AVERROR(ENOMEM);
158
        vst->codec->codec_type = CODEC_TYPE_VIDEO;
158
        vst->codec->codec_type = AVMEDIA_TYPE_VIDEO;
159 159
        vst->codec->codec_id = CODEC_ID_NUV;
160 160
        vst->codec->width = width;
161 161
        vst->codec->height = height;
......
171 171
        ast = av_new_stream(s, ctx->a_id);
172 172
        if (!ast)
173 173
            return AVERROR(ENOMEM);
174
        ast->codec->codec_type = CODEC_TYPE_AUDIO;
174
        ast->codec->codec_type = AVMEDIA_TYPE_AUDIO;
175 175
        ast->codec->codec_id = CODEC_ID_PCM_S16LE;
176 176
        ast->codec->channels = 2;
177 177
        ast->codec->sample_rate = 44100;

Also available in: Unified diff