[FFmpeg-cvslog] r15196 - trunk/libavformat/movenc.c

bcoudurier subversion
Thu Sep 4 20:17:21 CEST 2008


Author: bcoudurier
Date: Thu Sep  4 20:17:21 2008
New Revision: 15196

Log:
skip 2 bytes more when parsing ac3 frame, syncword 16bits + crc 16bits, patch by Damiano Galassi, damiog at gmail dot com

Modified:
   trunk/libavformat/movenc.c

Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c	(original)
+++ trunk/libavformat/movenc.c	Thu Sep  4 20:17:21 2008
@@ -233,7 +233,7 @@ static int mov_write_ac3_tag(ByteIOConte
     put_be32(pb, 11);
     put_tag(pb, "dac3");
 
-    init_get_bits(&gbc, track->vosData+2, track->vosLen-2);
+    init_get_bits(&gbc, track->vosData+4, track->vosLen-4);
     fscod      = get_bits(&gbc, 2);
     frmsizecod = get_bits(&gbc, 6);
     bsid       = get_bits(&gbc, 5);




More information about the ffmpeg-cvslog mailing list