aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qt-faststart.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-12-29 18:43:30 +0200
committerMartin Storsjö <martin@martin.st>2011-12-29 19:15:28 +0200
commitcf4afe0be656038e703cc35800b62ad757af1740 (patch)
tree7b11c35a0e06edee6d318cee0651ca6d4479a07f /tools/qt-faststart.c
parent1fbd3d30aee6ddfbe9d2ab3f70dc48c87464cf23 (diff)
downloadffmpeg-cf4afe0be656038e703cc35800b62ad757af1740.tar.gz
qt-faststart: Fix up indentation
This restores indentation after 65b875d8fcc. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tools/qt-faststart.c')
-rw-r--r--tools/qt-faststart.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/qt-faststart.c b/tools/qt-faststart.c
index eefeafdfac..8722e620cb 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,