Commit 59d40fc7 authored by Matthieu Bouron's avatar Matthieu Bouron Committed by Michael Niedermayer

lavf/mov: skip version and flags attributes in mov_read_chan function

Fixes ticket #1764.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 47451943
......@@ -696,6 +696,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;
......
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