Commit c9777641 authored by bcoudurier's avatar bcoudurier

return AVERROR(ENOMEM) if stream could not be allocated

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19702 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 722b79b9
......@@ -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