changeset 3561:d1cacc65f091 trunk

use context->fmt here.
author William Pitcock <nenolod@atheme.org>
date Tue, 18 Sep 2007 13:44:21 -0500
parents 154f21dcd61e
children 1caa559c5619
files src/audacious/iir.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/iir.c	Tue Sep 18 13:39:21 2007 -0500
+++ b/src/audacious/iir.c	Tue Sep 18 13:44:21 2007 -0500
@@ -101,7 +101,7 @@
     static int init = 0;
     int swapped = 0;
     guint myorder = G_BYTE_ORDER == G_LITTLE_ENDIAN ? FMT_S16_LE : FMT_S16_BE;
-    int caneq = (fmt == FMT_S16_NE || fmt == myorder);
+    int caneq = (context->fmt == FMT_S16_NE || context->fmt == myorder);
 
     if (!caneq && cfg.equalizer_active) {         /* wrong byte order */
         byteswap(context->len, context->data);    /* so convert */