aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-03-22 03:18:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-03-22 03:18:34 +0000
commit447caf7941dffed43369a7de3e212f5180974c43 (patch)
treea65fe18ff8918a836240ea39daaed3e2f824efca
parent55fc0eb174d82634be45412d68764553fb0ec551 (diff)
downloadffmpeg-447caf7941dffed43369a7de3e212f5180974c43.tar.gz
revert r8469 (increase bits for non default highprecision mode)
it causes overflows with linear interpolated filters coefficients Originally committed as revision 8476 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/resample2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/resample2.c b/libavcodec/resample2.c
index aa5cff71de..e88e709e78 100644
--- a/libavcodec/resample2.c
+++ b/libavcodec/resample2.c
@@ -40,7 +40,7 @@
#define FELEM_MIN INT16_MIN
#define WINDOW_TYPE 9
#elif !defined(CONFIG_RESAMPLE_AUDIOPHILE_KIDDY_MODE)
-#define FILTER_SHIFT 30
+#define FILTER_SHIFT 22
#define FELEM int32_t
#define FELEM2 int64_t