Part 2 of EAC3 support, this is still disabled as it breaks regressions
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 19 Apr 2008 02:29:27 +0000 (02:29 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 19 Apr 2008 02:29:27 +0000 (02:29 +0000)
due to bugs elsewhere.

Originally committed as revision 12897 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ac3_parser.c

index 39cb77d86869058ac9c3b8cd9381d02e3fd035ca..63b5c39b4602e030607590948cd46d5d018ccd04 100644 (file)
@@ -140,8 +140,8 @@ static int ac3_sync(uint64_t state, AACAC3ParseContext *hdr_info,
     hdr_info->channels = hdr.channels;
     hdr_info->samples = AC3_FRAME_SIZE;
 
-    *need_next_header = 0;
-    *new_frame_start  = 1;
+    *need_next_header = 0;//(hdr.frame_type != EAC3_FRAME_TYPE_AC3_CONVERT);
+    *new_frame_start  = 1;//(hdr.frame_type != EAC3_FRAME_TYPE_DEPENDENT);
     return hdr.frame_size;
 }