diff --git a/tools/qt-faststart.c b/tools/qt-faststart.c
index 172fdaeeb2cb42d14f322d021e235f3679cf6b6f..e1bcebca93819d7035922137b54adfbc90b6e24d 100644
--- a/tools/qt-faststart.c
+++ b/tools/qt-faststart.c
@@ -306,9 +306,9 @@ int main(int argc, char *argv[])
 
 error_out:
     if (infile)
-    fclose(infile);
+        fclose(infile);
     if (outfile)
-    fclose(outfile);
+        fclose(outfile);
     free(moov_atom);
     free(ftyp_atom);
     return 1;