diff options
author | Matthieu Bouron <matthieu.bouron@gmail.com> | 2013-02-04 22:06:11 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-02-06 23:24:19 +0100 |
commit | 02d3ad8609573a4b0069e57df03646ec3d92fdf1 (patch) | |
tree | 52cc8f9d54606393dcacdc42acc62b0551d3f2d8 | |
parent | b48cf5412bb4a57cc6fecd0aa8760356f9db7368 (diff) | |
download | ffmpeg-02d3ad8609573a4b0069e57df03646ec3d92fdf1.tar.gz |
lavf/mov: skip version and flags attributes in mov_read_chan function
Fixes ticket #1764.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 59d40fc7e66e6ebb2d89e25115492bfe13b07d95)
-rw-r--r-- | libavformat/mov.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 6c78adbd2a..b818a801df 100644 --- a/libavformat/mov.c +++ b/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; |