diff ac3_parser.c @ 6566:9b8a881e871c libavcodec

Corrections of errors in aac_ac3_parser
author bwolowiec
date Mon, 07 Apr 2008 20:54:08 +0000
parents 013def14c931
children 5e7c69ebc019
line wrap: on
line diff
--- a/ac3_parser.c	Sat Apr 05 20:09:36 2008 +0000
+++ b/ac3_parser.c	Mon Apr 07 20:54:08 2008 +0000
@@ -130,7 +130,7 @@
     uint64_t tmp = be2me_64(state);
     AC3HeaderInfo hdr;
 
-    err = ff_ac3_parse_header((uint8_t *)&tmp, &hdr);
+    err = ff_ac3_parse_header(((uint8_t *)&tmp)+8-AC3_HEADER_SIZE, &hdr);
 
     if(err < 0)
         return 0;