Revision 8b9c4ad2

View differences:

libavformat/yuv4mpeg.c
323 323

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

Also available in: Unified diff