]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
maybe fix the stupid bug in the mp3 decoder code
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 17 May 2007 17:11:48 +0000 (17:11 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 17 May 2007 17:11:48 +0000 (17:11 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5200 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/formats/mod_shout/layer3.c

index 490178df2c3968f64df5dadbf0fca750c6a5b17e..1e76ae38e5c89b4ad0e0ec7cafbe9f7db6b4779d 100644 (file)
@@ -836,11 +836,11 @@ static int III_dequantize_sample(struct mpstr *mp, real xr[SBLIMIT][SSLIMIT], in
                                                        v = gr_info->pow2gain[sanity];
                                                        cb = *m++;
                                                } else {
-                                                       return 1;
+                                                       return 0;
                                                }
 
                                        } else {
-                                               return 1;
+                                               return 0;
                                        }
 
                                }