summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-07 13:37:19 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-07 13:50:24 +0200
commitfa8511851090537f6898fc50d7e6cf56841cf6ab (patch)
treecc6e217fd99f5080a4726e1c74a6840962e1ff80 /libavformat/mov.c
parenta7fbc7d7b7eabc74ceb1970a995c56043315e433 (diff)
parent9afb7061f938831248942050cfdb449e014ed427 (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: mov_chan: Pass a separate AVIOContext for reading af_asyncts: check return value from lavr when flushing. mss2: simplify loop in decode_rle() mss12: avoid unnecessary division in arith*_get_bit() mss2: do not try to read too many palette entries mpegvideo: set AVFrame fields to NULL after freeing the base memory configure: Set the right cc_e flags for msvc Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 4108b870f6..078bd3f8ea 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -676,7 +676,7 @@ static int mov_read_chan(MOVContext *c, AVIOContext *pb, MOVAtom atom)
if (atom.size < 16)
return 0;
- ff_mov_read_chan(c->fc, st, atom.size - 4);
+ ff_mov_read_chan(c->fc, pb, st, atom.size - 4);
return 0;
}
@@ -2575,7 +2575,7 @@ static int mov_read_chan2(MOVContext *c, AVIOContext *pb, MOVAtom atom)
if (atom.size < 16)
return 0;
avio_skip(pb, 4);
- ff_mov_read_chan(c->fc,c->fc->streams[0], atom.size - 4);
+ ff_mov_read_chan(c->fc, pb, c->fc->streams[0], atom.size - 4);
return 0;
}