Commit 3efe8848 authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

return ENOMEM

Originally committed as revision 12530 to svn://
parent 2922cbdb
......@@ -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