[FFmpeg-soc] [soc]: r1518 - amr/amrnbfloatdec.c
superdump
subversion at mplayerhq.hu
Tue Dec 4 02:11:30 CET 2007
Author: superdump
Date: Tue Dec 4 02:11:29 2007
New Revision: 1518
Log:
Add some more missing vector indices
Modified:
amr/amrnbfloatdec.c
Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c (original)
+++ amr/amrnbfloatdec.c Tue Dec 4 02:11:29 2007
@@ -1162,10 +1162,10 @@ static int amrnb_decode_frame(AVCodecCon
}
// anti-sparseness processing
- if(p->pitch_gain < 0.6) {
+ if(p->pitch_gain[4] < 0.6) {
// strong filtering
p->ir_filter_strength[1] = 0;
- }else if(p->pitch_gain < 0.9) {
+ }else if(p->pitch_gain[4] < 0.9) {
// medium filtering
p->ir_filter_strength[1] = 1;
}else {
More information about the FFmpeg-soc
mailing list