tools/ismindex: dont ignore return code of write_fragments()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 21 Apr 2013 17:49:22 +0000 (19:49 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 21 Apr 2013 17:49:22 +0000 (19:49 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tools/ismindex.c

index 502a7dc..4633368 100644 (file)
@@ -224,7 +224,7 @@ static int read_mfra(struct Tracks *tracks, int start_index,
     }
 
     if (split)
-        write_fragments(tracks, start_index, f);
+        err = write_fragments(tracks, start_index, f);
 
 fail:
     if (f)