Browse Source

return ENOMEM

Originally committed as revision 12530 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 17 years ago
parent
commit
3efe8848fc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mov.c

+ 1
- 1
libavformat/mov.c View File

@@ -1202,7 +1202,7 @@ static int mov_read_trak(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
int ret; int ret;


st = av_new_stream(c->fc, c->fc->nb_streams); st = av_new_stream(c->fc, c->fc->nb_streams);
if (!st) return -2;
if (!st) return AVERROR(ENOMEM);
sc = av_mallocz(sizeof(MOVStreamContext)); sc = av_mallocz(sizeof(MOVStreamContext));
if (!sc) return AVERROR(ENOMEM); if (!sc) return AVERROR(ENOMEM);




Loading…
Cancel
Save