Revision 72415b2a libavformat/yuv4mpeg.c

View differences:

libavformat/yuv4mpeg.c
335 335
    av_reduce(&raten, &rated, raten, rated, (1UL<<31)-1);
336 336
    av_set_pts_info(st, 64, rated, raten);
337 337
    st->codec->pix_fmt = pix_fmt;
338
    st->codec->codec_type = CODEC_TYPE_VIDEO;
338
    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
339 339
    st->codec->codec_id = CODEC_ID_RAWVIDEO;
340 340
    st->sample_aspect_ratio= (AVRational){aspectn, aspectd};
341 341
    st->codec->chroma_sample_location = chroma_sample_location;

Also available in: Unified diff