# HG changeset patch # User nenolod # Date 1136988670 28800 # Node ID f03932d43230c70d2d2b5bbeefff2c278a29e874 # Parent 8ddd961ef0ff65b42717c647f9ce6c545ddbe710 [svn] Add a sanity check for crappily written plugins in the decoder cache. diff -r 8ddd961ef0ff -r f03932d43230 audacious/playlist.c --- a/audacious/playlist.c Wed Jan 11 05:40:26 2006 -0800 +++ b/audacious/playlist.c Wed Jan 11 06:11:10 2006 -0800 @@ -174,7 +174,7 @@ if (entry->decoder == NULL) input_get_song_info(entry->filename, &title, &length); - else + else if (entry->decoder->get_song_info != NULL) entry->decoder->get_song_info(entry->filename, &title, &length); if (!title && length == -1)