comparison ac3_parser.c @ 6645:83f805f7a854 libavcodec

Part 2 of EAC3 support, this is still disabled as it breaks regressions due to bugs elsewhere.
author michael
date Sat, 19 Apr 2008 02:29:27 +0000
parents 4d04fcb5e1e4
children abc8176ddf88
comparison
equal deleted inserted replaced
6644:1d9eb7c09f98 6645:83f805f7a854
138 hdr_info->sample_rate = hdr.sample_rate; 138 hdr_info->sample_rate = hdr.sample_rate;
139 hdr_info->bit_rate = hdr.bit_rate; 139 hdr_info->bit_rate = hdr.bit_rate;
140 hdr_info->channels = hdr.channels; 140 hdr_info->channels = hdr.channels;
141 hdr_info->samples = AC3_FRAME_SIZE; 141 hdr_info->samples = AC3_FRAME_SIZE;
142 142
143 *need_next_header = 0; 143 *need_next_header = 0;//(hdr.frame_type != EAC3_FRAME_TYPE_AC3_CONVERT);
144 *new_frame_start = 1; 144 *new_frame_start = 1;//(hdr.frame_type != EAC3_FRAME_TYPE_DEPENDENT);
145 return hdr.frame_size; 145 return hdr.frame_size;
146 } 146 }
147 147
148 static av_cold int ac3_parse_init(AVCodecParserContext *s1) 148 static av_cold int ac3_parse_init(AVCodecParserContext *s1)
149 { 149 {