mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
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:
parent
fa643093bd
commit
20fb2bd1ec
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user