On 12/04/2014 02:13 PM, Vittorio Giovara wrote:
From: Matthieu Bouron <[email protected]>
Fixes decting channel layout for files with uncommon audio, such as
FL and FR in two separate streams. Introduced in 3bab7cd.
CC: [email protected]
Sample-Id: ticket1474.mov
Signed-off-by: Vittorio Giovara <[email protected]>
---
libavformat/mov.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index cc60ca4..7f288cc 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -647,6 +647,9 @@ static int mov_read_chan(MOVContext *c, AVIOContext *pb,
MOVAtom atom)
if (atom.size < 16)
return 0;
+ /* skip version and flags */
+ avio_skip(pb, 4);
+
ff_mov_read_chan(c->fc, pb, st, atom.size - 4);
return 0;
Looks correct.
-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel