[Ffmpeg-cvslog] r8476 - trunk/libavcodec/resample2.c

michael subversion
Thu Mar 22 04:18:34 CET 2007


Author: michael
Date: Thu Mar 22 04:18:34 2007
New Revision: 8476

Modified:
   trunk/libavcodec/resample2.c

Log:
revert  r8469 (increase bits for non default highprecission mode)

it causes overflows with linear interpolated filters coefficients



Modified: trunk/libavcodec/resample2.c
==============================================================================
--- trunk/libavcodec/resample2.c	(original)
+++ trunk/libavcodec/resample2.c	Thu Mar 22 04:18:34 2007
@@ -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




More information about the ffmpeg-cvslog mailing list