diff src/libSAD/dither.c @ 4235:2d4b4f13d10d

set_replaygain_info added to PAPI
author Eugene Zagidullin <e.asphyx@gmail.com>
date Thu, 31 Jan 2008 14:15:12 +0300
parents b293ce14a01a
children 8f6956130372
line wrap: on
line diff
--- a/src/libSAD/dither.c	Thu Jan 31 12:04:13 2008 +0300
+++ b/src/libSAD/dither.c	Thu Jan 31 14:15:12 2008 +0300
@@ -17,6 +17,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+/*#define CLIPPING_DEBUG*/
+/*#define DITHER_DEBUG*/
 
 #include "common.h"
 #include "dither_ops.h"
@@ -150,7 +152,7 @@
   if (precision_loss && (n_bits_to_loose >= 1)) sample += (1L << (n_bits_to_loose - 1));
 
 #ifdef DITHER_DEBUG
-  int32_t val_wo_dither = sample, >> n_bits_to_loose;
+  int32_t val_wo_dither = sample >> n_bits_to_loose;
   val_wo_dither = CLIP(val_wo_dither, maxint);
 #endif
   if (dither && precision_loss && (n_bits_to_loose >= 1)) {