projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60583fb
)
ENOMEM is better, yes ...
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 29 May 2008 15:40:16 +0000
(15:40 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 29 May 2008 15:40:16 +0000
(15:40 +0000)
Originally committed as revision 13535 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/yuv4mpeg.c
patch
|
blob
|
history
diff --git
a/libavformat/yuv4mpeg.c
b/libavformat/yuv4mpeg.c
index
d05d8f6
..
3ba582e
100644
(file)
--- 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);