revert r8469 (increase bits for non default highprecision mode)
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 22 Mar 2007 03:18:34 +0000 (03:18 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 22 Mar 2007 03:18:34 +0000 (03:18 +0000)
it causes overflows with linear interpolated filters coefficients

Originally committed as revision 8476 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/resample2.c

index aa5cff7..e88e709 100644 (file)
@@ -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