# HG changeset patch # User nenolod # Date 1148950308 25200 # Node ID 53f8a1d3a0702d5f77e9e8344c61906ee53e2cd4 # Parent c4063c84b797fa8c77f22515f7e0227120a7111b [svn] - improve support of non-standard bitrates - remove unreached code diff -r c4063c84b797 -r 53f8a1d3a070 Plugins/Input/mpg123/common.c --- a/Plugins/Input/mpg123/common.c Mon May 29 11:25:33 2006 -0700 +++ b/Plugins/Input/mpg123/common.c Mon May 29 17:51:48 2006 -0700 @@ -357,6 +357,10 @@ default: return (0); } + + if (!fr->bitrate_index) + fr->framesize = 0; + if (fr->framesize > MAXFRAMESIZE) return 0; return 1; diff -r c4063c84b797 -r 53f8a1d3a070 Plugins/Input/mpg123/layer3.c --- a/Plugins/Input/mpg123/layer3.c Mon May 29 11:25:33 2006 -0700 +++ b/Plugins/Input/mpg123/layer3.c Mon May 29 17:51:48 2006 -0700 @@ -1825,27 +1825,6 @@ } } -#ifdef XMMS_EQ - if (mpgdec_info->eq_active) { - int i, sb; - - if (single < 0) { - for (sb = 0, i = 0; sb < SBLIMIT; sb++) { - for (ss = 0; ss < SSLIMIT; ss++) { - hybridIn[0][sb][ss] *= mpgdec_info->eq_mul[i]; - hybridIn[1][sb][ss] *= mpgdec_info->eq_mul[i++]; - } - } - } - else { - for (sb = 0, i = 0; sb < SBLIMIT; sb++) { - for (ss = 0; ss < SSLIMIT; ss++) - hybridIn[0][sb][ss] *= mpgdec_info->eq_mul[i++]; - } - } - } -#endif - for (ch = 0; ch < stereo1; ch++) { struct gr_info_s *gr_info = &(sideinfo.ch[ch].gr[gr]);