Merge commit 'fcf597625c7a991ca389f3a9b8ff4f5e383301c0'
[ffmpeg.git] / 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;