changeset 3888:0244f7383b70 libavformat

skip 2 bytes more when parsing ac3 frame, syncword 16bits + crc 16bits, patch by Damiano Galassi, damiog at gmail dot com
author bcoudurier
date Thu, 04 Sep 2008 18:17:21 +0000
parents c8ab0676bba6
children 94ba4a17d03f
files movenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/movenc.c	Wed Sep 03 19:42:09 2008 +0000
+++ b/movenc.c	Thu Sep 04 18:17:21 2008 +0000
@@ -233,7 +233,7 @@
     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);