diff options
author | Matthieu Bouron <matthieu.bouron@gmail.com> | 2013-02-04 22:06:11 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-06 22:39:40 +0100 |
commit | 59d40fc7e66e6ebb2d89e25115492bfe13b07d95 (patch) | |
tree | 4d527260430903617d1e7f906b303dbf701f5911 | |
parent | 474519433634c05a86270f342b3417cbcd9712c3 (diff) | |
download | ffmpeg-59d40fc7e66e6ebb2d89e25115492bfe13b07d95.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>
-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 7f7c0e13d8..52c2503b2b 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; |