diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-03-21 10:48:22 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-03-21 10:48:22 +0000 |
commit | 3efe8848fcbfc4f258848ea793a3e3f60ad190a3 (patch) | |
tree | a88c6f41933f319d7d34f833e2c9caa968cdf9ee /libavformat/mov.c | |
parent | 2922cbdb14a69ca8f763182a9d70d13ddcdcd1ec (diff) | |
download | ffmpeg-3efe8848fcbfc4f258848ea793a3e3f60ad190a3.tar.gz |
return ENOMEM
Originally committed as revision 12530 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 70b059bb8d..0f58131908 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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); |