[FFmpeg-cvslog] r19702 - trunk/libavformat/r3d.c
bcoudurier
subversion
Tue Aug 25 21:59:38 CEST 2009
Author: bcoudurier
Date: Tue Aug 25 21:59:38 2009
New Revision: 19702
Log:
return AVERROR(ENOMEM) if stream could not be allocated
Modified:
trunk/libavformat/r3d.c
Modified: trunk/libavformat/r3d.c
==============================================================================
--- trunk/libavformat/r3d.c Tue Aug 25 21:58:21 2009 (r19701)
+++ trunk/libavformat/r3d.c Tue Aug 25 21:59:38 2009 (r19702)
@@ -55,7 +55,7 @@ static int r3d_read_red1(AVFormatContext
int tmp, tmp2;
if (!st)
- return -1;
+ return AVERROR(ENOMEM);
st->codec->codec_type = CODEC_TYPE_VIDEO;
st->codec->codec_id = CODEC_ID_JPEG2000;
More information about the ffmpeg-cvslog
mailing list