diff options
author | Bartlomiej Wolowiec <bartek.wolowiec@gmail.com> | 2008-04-07 20:54:08 +0000 |
---|---|---|
committer | Bartlomiej Wolowiec <bartek.wolowiec@gmail.com> | 2008-04-07 20:54:08 +0000 |
commit | c09ed33e186ea0ba4ab96599bd69aea462aabeda (patch) | |
tree | de7576a064c9ad042ed55f3a155896eb6c57c6cb /libavcodec/aac_parser.c | |
parent | 0a5754c3b729cf8fc9b938ac0724ee7261aa1606 (diff) | |
download | ffmpeg-c09ed33e186ea0ba4ab96599bd69aea462aabeda.tar.gz |
Corrections of errors in aac_ac3_parser
Originally committed as revision 12759 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac_parser.c')
-rw-r--r-- | libavcodec/aac_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aac_parser.c b/libavcodec/aac_parser.c index ddf82819be..9fbef864a1 100644 --- a/libavcodec/aac_parser.c +++ b/libavcodec/aac_parser.c @@ -34,7 +34,7 @@ static int aac_sync(uint64_t state, AACAC3ParseContext *hdr_info, int size, rdb, ch, sr; uint64_t tmp = be2me_64(state); - init_get_bits(&bits, (uint8_t *)&tmp, AAC_HEADER_SIZE * 8); + init_get_bits(&bits, ((uint8_t *)&tmp)+8-AAC_HEADER_SIZE, AAC_HEADER_SIZE * 8); if(get_bits(&bits, 12) != 0xfff) return 0; |