# HG changeset patch # User nenolod # Date 1147588137 25200 # Node ID fa999c7066e21c9186bdeaf08b021ff07c6bab4e # Parent 0211e65a66e8972ab4374ef6e00f1fc7ec886d27 [svn] - if taglib_tag == NULL, then return instead of crash diff -r 0211e65a66e8 -r fa999c7066e2 Plugins/Input/mpg123/fileinfo.c --- a/Plugins/Input/mpg123/fileinfo.c Sat May 13 22:59:15 2006 -0700 +++ b/Plugins/Input/mpg123/fileinfo.c Sat May 13 23:28:57 2006 -0700 @@ -695,6 +695,9 @@ taglib_ap = taglib_file_audioproperties(taglib_file); } else return; + if (!taglib_tag) + return; + /* be sane here, taglib_tag results may be NULL --nenolod */ ptr = taglib_tag_title(taglib_tag);