Commit 8afb8d8d authored by michael's avatar michael

ENOMEM is better, yes ...


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13535 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7c7dd9d6
...@@ -323,7 +323,7 @@ static int yuv4_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -323,7 +323,7 @@ static int yuv4_read_header(AVFormatContext *s, AVFormatParameters *ap)
st = av_new_stream(s, 0); st = av_new_stream(s, 0);
if(!st) if(!st)
return -1; return AVERROR(ENOMEM);
st->codec->width = width; st->codec->width = width;
st->codec->height = height; st->codec->height = height;
av_reduce(&raten, &rated, raten, rated, (1UL<<31)-1); 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