diff --git a/libavcodec/g723_1.c b/libavcodec/g723_1.c index 4a73c3c38a..68a6d9179c 100644 --- a/libavcodec/g723_1.c +++ b/libavcodec/g723_1.c @@ -2142,7 +2142,7 @@ static void get_fcb_param(FCBParam *optim, int16_t *impulse_resp, temp_corr[param.pulse_pos[0]] = 1; for (k = 1; k < pulse_cnt; k++) { - max = -1 << 30; + max = INT_MIN; for (l = i; l < SUBFRAME_LEN; l += GRID_SIZE) { if (temp_corr[l]) continue;