Commit 6aa33347 authored by Baptiste Coudurier's avatar Baptiste Coudurier

return AVERROR(ENOMEM) if stream could not be allocated

Originally committed as revision 19702 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b01c7b75
......@@ -55,7 +55,7 @@ static int r3d_read_red1(AVFormatContext *s)
int tmp, tmp2;
if (!st)
return -1;
return AVERROR(ENOMEM);
st->codec->codec_type = CODEC_TYPE_VIDEO;
st->codec->codec_id = CODEC_ID_JPEG2000;
......
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