[FFmpeg-cvslog] wav: fix skip size at end of ds64 chunk

Philip de Nier git at videolan.org
Fri Jun 3 15:49:02 CEST 2011


ffmpeg | branch: master | Philip de Nier <philipn at rd.bbc.co.uk> | Thu Jun  2 17:04:42 2011 +0100| [e472f0ea5a025b61b7c208661a4bc31091a3c2c2] | committer: Michael Niedermayer

wav: fix skip size at end of ds64 chunk

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

 libavformat/wav.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/wav.c b/libavformat/wav.c
index b475d0c..34b9571 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -334,7 +334,7 @@ static int wav_read_header(AVFormatContext *s,
                    data_size, sample_count);
             return AVERROR_INVALIDDATA;
         }
-        avio_skip(pb, size - 16); /* skip rest of ds64 chunk */
+        avio_skip(pb, size - 24); /* skip rest of ds64 chunk */
     }
 
     for (;;) {



More information about the ffmpeg-cvslog mailing list