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

Fixes ticket #1764.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/9/merge
Matthieu Bouron 12 years ago committed by Michael Niedermayer
parent 4745194336
commit 59d40fc7e6
  1. 3
      libavformat/mov.c

@ -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;

Loading…
Cancel
Save