diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-05-29 15:40:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-05-29 15:40:16 +0000 |
commit | 8b9c4ad2374c6438a967a65d1ad779f47a3f30e2 (patch) | |
tree | abc9990631f31bd2dd67c37abf1009ba3fe5157a | |
parent | 60583fb653dd2dc665cb4a8b9c755f23ea3cf901 (diff) | |
download | ffmpeg-8b9c4ad2374c6438a967a65d1ad779f47a3f30e2.tar.gz |
ENOMEM is better, yes ...
Originally committed as revision 13535 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/yuv4mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/yuv4mpeg.c b/libavformat/yuv4mpeg.c index d05d8f6514..3ba582e55e 100644 --- a/libavformat/yuv4mpeg.c +++ b/libavformat/yuv4mpeg.c @@ -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); |