# HG changeset patch # User michael # Date 1219704707 0 # Node ID 3ced4fb2334227cb9ced08f04f26e3e01f0dca1e # Parent 8313d5901c5c0a2d8e6eb7052f8899daf400c789 Replace cliping in ff_acelp_interpolate() by a check&av_log, this should be the quickest way to find out if it is needed. diff -r 8313d5901c5c -r 3ced4fb23342 acelp_filters.c --- a/acelp_filters.c Mon Aug 25 16:32:03 2008 +0000 +++ b/acelp_filters.c Mon Aug 25 22:51:47 2008 +0000 @@ -75,7 +75,9 @@ i++; v += in[n - i] * filter_coeffs[idx - frac_pos]; } - out[n] = av_clip_int16(v >> 15); + if(av_clip_int16(v>>15) != (v>>15)) + av_log(NULL, AV_LOG_WARNING, "overflow that would need cliping in ff_acelp_interpolate()\n"); + out[n] = v >> 15; } }