Commit 8b9c4ad2 authored by Michael Niedermayer's avatar Michael Niedermayer

ENOMEM is better, yes ...

Originally committed as revision 13535 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 60583fb6
......@@ -323,7 +323,7 @@ static int yuv4_read_header(AVFormatContext *s, AVFormatParameters *ap)
st = av_new_stream(s, 0);
if(!st)
return -1;
return AVERROR(ENOMEM);
st->codec->width = width;
st->codec->height = height;
av_reduce(&raten, &rated, raten, rated, (1UL<<31)-1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment