Skip to content
Snippets Groups Projects
Commit e3f6ad0b authored by Gregory Maxwell's avatar Gregory Maxwell
Browse files

Remove an unreachable block in silk/float/pitch_analysis_core_FLP.c

(Fs_kHz is always 8/12/16 in Opus and also enforced by the assert on line 112)
parent 8d6467c7
No related branches found
No related tags found
No related merge requests found
......@@ -405,10 +405,8 @@ opus_int silk_pitch_analysis_core_FLP( /* O voicing estimate: 0 voiced, 1 unvoic
silk_assert( lag == silk_SAT16( lag ) );
if( Fs_kHz == 12 ) {
lag = silk_RSHIFT_ROUND( silk_SMULBB( lag, 3 ), 1 );
} else if( Fs_kHz == 16 ) {
} else { /* Fs_kHz == 16 */
lag = silk_LSHIFT( lag, 1 );
} else {
lag = silk_SMULBB( lag, 3 );
}
lag = silk_LIMIT_int( lag, min_lag, max_lag );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment