[FFmpeg-cvslog] lavf/mov: skip version and flags attributes in mov_read_chan function

Matthieu Bouron git at videolan.org
Wed Feb 6 23:37:09 CET 2013


ffmpeg | branch: release/1.0 | Matthieu Bouron <matthieu.bouron at gmail.com> | Mon Feb  4 22:06:11 2013 +0100| [f3144b0cc69490fa81d1f499e24d4b0bc1c63c0e] | committer: Carl Eugen Hoyos

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

Fixes ticket #1764.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 59d40fc7e66e6ebb2d89e25115492bfe13b07d95)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f3144b0cc69490fa81d1f499e24d4b0bc1c63c0e
---

 libavformat/mov.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index d3027f3..73c8be0 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -676,6 +676,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;



More information about the ffmpeg-cvslog mailing list