Commit c9c8e5c8 authored by bcoudurier's avatar bcoudurier

return ENOMEM

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12530 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3c723719
......@@ -1202,7 +1202,7 @@ static int mov_read_trak(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
int ret;
st = av_new_stream(c->fc, c->fc->nb_streams);
if (!st) return -2;
if (!st) return AVERROR(ENOMEM);
sc = av_mallocz(sizeof(MOVStreamContext));
if (!sc) return AVERROR(ENOMEM);
......
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