diff options
author | Damiano Galassi <damiog@gmail.com> | 2008-09-04 18:17:21 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-09-04 18:17:21 +0000 |
commit | 544a0f47afcaf508f788153ddc07a9a93aad9356 (patch) | |
tree | bf64ec51b64cc1495592440b92158e2fd6f66c7a /libavformat/movenc.c | |
parent | 688b5e802059897b79ff5e57d69ae5156385206c (diff) | |
download | ffmpeg-544a0f47afcaf508f788153ddc07a9a93aad9356.tar.gz |
skip 2 bytes more when parsing ac3 frame, syncword 16bits + crc 16bits,
patch by Damiano Galassi, damiog at gmail dot com
Originally committed as revision 15196 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index f7b999aa1b..0ab32481be 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -233,7 +233,7 @@ static int mov_write_ac3_tag(ByteIOContext *pb, MOVTrack *track) 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); |