qt-faststart: Fix up indentation

Message ID 1325178147-7517-1-git-send-email-martin@martin.st
State Committed
Commit cf4afe0be656038e703cc35800b62ad757af1740
Headers show

Commit Message

Martin Storsjö Dec. 29, 2011, 5:02 p.m.
This restores indentation after 65b875d8fcc.
---
 tools/qt-faststart.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

Comments

Kostya Shishkov Dec. 29, 2011, 5:07 p.m. | #1
On Thu, Dec 29, 2011 at 07:02:27PM +0200, Martin Storsjö wrote:
> This restores indentation after 65b875d8fcc.
> ---
>  tools/qt-faststart.c |   18 +++++++++---------
>  1 files changed, 9 insertions(+), 9 deletions(-)

LGTM

<offtopic> and certain Justin forgot to reindent wavpack after his changes

Patch

diff --git a/tools/qt-faststart.c b/tools/qt-faststart.c
index eefeafd..8722e62 100644
--- a/tools/qt-faststart.c
+++ b/tools/qt-faststart.c
@@ -137,17 +137,17 @@  int main(int argc, char *argv[])
             start_offset = ftello(infile);
         } else {
 
-        /* 64-bit special case */
-        if (atom_size == 1) {
-            if (fread(atom_bytes, ATOM_PREAMBLE_SIZE, 1, infile) != 1) {
-                break;
+            /* 64-bit special case */
+            if (atom_size == 1) {
+                if (fread(atom_bytes, ATOM_PREAMBLE_SIZE, 1, infile) != 1) {
+                    break;
+                }
+                atom_size = BE_64(&atom_bytes[0]);
+                fseeko(infile, atom_size - ATOM_PREAMBLE_SIZE * 2, SEEK_CUR);
+            } else {
+                fseeko(infile, atom_size - ATOM_PREAMBLE_SIZE, SEEK_CUR);
             }
-            atom_size = BE_64(&atom_bytes[0]);
-            fseeko(infile, atom_size - ATOM_PREAMBLE_SIZE * 2, SEEK_CUR);
-        } else {
-            fseeko(infile, atom_size - ATOM_PREAMBLE_SIZE, SEEK_CUR);
         }
-    }
         printf("%c%c%c%c %10"PRIu64" %"PRIu64"\n",
                (atom_type >> 24) & 255,
                (atom_type >> 16) & 255,