Merge commit 'fcf597625c7a991ca389f3a9b8ff4f5e383301c0'
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 7 Sep 2014 22:45:02 +0000 (00:45 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 7 Sep 2014 22:45:33 +0000 (00:45 +0200)
* commit 'fcf597625c7a991ca389f3a9b8ff4f5e383301c0':
  ismindex: Avoid writing ismf files if no base name has been specified

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tools/ismindex.c

index 258f8284aa5f9de001e515652feaff072ca4308a..d66a389e0ec49d7fc726b141a24f0e0087a36cf4 100644 (file)
@@ -681,6 +681,8 @@ int main(int argc, char **argv)
         } else if (argv[i][0] == '-') {
             return usage(argv[0], 1);
         } else {
+            if (!basename)
+                ismf = 0;
             if (handle_file(&tracks, argv[i], split, ismf,
                             basename, output_prefix))
                 return 1;