Don't try to do stuff to files that aren't valid.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@344196 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Scott Wheeler 2004-09-05 17:54:00 +00:00
parent fa643093bd
commit 20fb2bd1ec

View File

@ -44,6 +44,10 @@ int main(int argc, char *argv[])
printf("******************** \"%s\" ********************\n", argv[i]);
file = taglib_file_new(argv[i]);
if(file == NULL)
break;
tag = taglib_file_tag(file);
properties = taglib_file_audioproperties(file);