[FFmpeg-soc] [soc]: r4111 - amr/amrnbfloatdec.c

kmalaussene subversion at mplayerhq.hu
Sun Feb 22 02:07:56 CET 2009


Author: kmalaussene
Date: Sun Feb 22 02:07:56 2009
New Revision: 4111

Log:
Fix compilation after previous broken commit.

Modified:
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	Sun Feb 22 02:04:07 2009	(r4110)
+++ amr/amrnbfloatdec.c	Sun Feb 22 02:07:56 2009	(r4111)
@@ -379,7 +379,7 @@ static void decode_pitch_lag(int *lag_in
                             const int subframe, const enum Mode mode)
 {
     // find the search range
-    int search_range_min = FFMAX(p->prev_pitch_lag_int - 5, p->cur_frame_mode == MODE_122 ? PITCH_LAG_MIN_MODE_122 : PITCH_LAG_MIN);
+    int search_range_min = FFMAX(prev_lag_int - 5, mode == MODE_122 ? PITCH_LAG_MIN_MODE_122 : PITCH_LAG_MIN);
     int search_range_max = search_range_min + 9;
     if(search_range_max > PITCH_LAG_MAX) {
         search_range_max = PITCH_LAG_MAX;



More information about the FFmpeg-soc mailing list