Mercurial > audlegacy
changeset 418:f03932d43230 trunk
[svn] Add a sanity check for crappily written plugins in the decoder cache.
author | nenolod |
---|---|
date | Wed, 11 Jan 2006 06:11:10 -0800 |
parents | 8ddd961ef0ff |
children | 2291caab50ca |
files | audacious/playlist.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)