[FFmpeg-cvslog] r13535 - trunk/libavformat/yuv4mpeg.c
michael
subversion
Thu May 29 17:40:16 CEST 2008
Author: michael
Date: Thu May 29 17:40:16 2008
New Revision: 13535
Log:
ENOMEM is better, yes ...
Modified:
trunk/libavformat/yuv4mpeg.c
Modified: trunk/libavformat/yuv4mpeg.c
==============================================================================
--- trunk/libavformat/yuv4mpeg.c (original)
+++ trunk/libavformat/yuv4mpeg.c Thu May 29 17:40:16 2008
@@ -323,7 +323,7 @@ static int yuv4_read_header(AVFormatCont
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);
More information about the ffmpeg-cvslog
mailing list