aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3_parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-04-19 02:29:27 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-04-19 02:29:27 +0000
commitc087748f2620648b6c43139e123ee61d4bfd4823 (patch)
tree425f61d0186673abb4df4fbc8392be51c2aa2ebf /libavcodec/ac3_parser.c
parent8629e7562d73feea8b840e1ec11a79e9ae1558f8 (diff)
downloadffmpeg-c087748f2620648b6c43139e123ee61d4bfd4823.tar.gz
Part 2 of EAC3 support, this is still disabled as it breaks regressions
due to bugs elsewhere. Originally committed as revision 12897 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3_parser.c')
-rw-r--r--libavcodec/ac3_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ac3_parser.c b/libavcodec/ac3_parser.c
index 39cb77d868..63b5c39b46 100644
--- a/libavcodec/ac3_parser.c
+++ b/libavcodec/ac3_parser.c
@@ -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;
}