Revision 884d5385

View differences:

libavformat/yuv4mpeg.c
322 322
    }
323 323

  
324 324
    st = av_new_stream(s, 0);
325
    if(!st)
326
        return -1;
325 327
    st->codec->width = width;
326 328
    st->codec->height = height;
327 329
    av_reduce(&raten, &rated, raten, rated, (1UL<<31)-1);

Also available in: Unified diff