remove debug code, and preivous commit fixes a segfault due to a doble free on an error trying to decode mp3's

git-svn-id: https://svn.musicpd.org/mpd/trunk@1314 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes
2004-06-03 02:58:41 +00:00
parent 15c61f6eb0
commit c453f7dc52
2 changed files with 1 additions and 8 deletions

View File

@@ -311,9 +311,7 @@ void decodeStart(PlayerControl * pc, OutputBuffer * cb, DecoderControl * dc) {
ret = DECODE_ERROR_UNKTYPE;
if(isRemoteUrl(pc->utf8url)) {
if(inStream.mime) {
plugin = getInputPluginFromMimeType(inStream.mime);
}
plugin = getInputPluginFromMimeType(inStream.mime);
if(plugin == NULL) {
plugin = getInputPluginFromSuffix(
getSuffix(dc->utf8url));