changeset 8653:cc6f01be6614 libavcodec

cosmetics: indentation
author jbr
date Sat, 24 Jan 2009 16:13:21 +0000
parents 1a88ffbd3233
children 13b6cdf7895e
files flacdec.c
diffstat 1 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/flacdec.c	Sat Jan 24 16:03:17 2009 +0000
+++ b/flacdec.c	Sat Jan 24 16:13:21 2009 +0000
@@ -602,20 +602,20 @@
     if(metadata_parse(s))
         goto end;
 
-        tmp = show_bits(&s->gb, 16);
-        if((tmp & 0xFFFE) != 0xFFF8){
-            av_log(s->avctx, AV_LOG_ERROR, "FRAME HEADER not here\n");
-            while(get_bits_count(&s->gb)/8+2 < buf_size && (show_bits(&s->gb, 16) & 0xFFFE) != 0xFFF8)
-                skip_bits(&s->gb, 8);
-            goto end; // we may not have enough bits left to decode a frame, so try next time
-        }
-        skip_bits(&s->gb, 16);
-        if (decode_frame(s, alloc_data_size) < 0){
-            av_log(s->avctx, AV_LOG_ERROR, "decode_frame() failed\n");
-            s->bitstream_size=0;
-            s->bitstream_index=0;
-            return -1;
-        }
+    tmp = show_bits(&s->gb, 16);
+    if((tmp & 0xFFFE) != 0xFFF8){
+        av_log(s->avctx, AV_LOG_ERROR, "FRAME HEADER not here\n");
+        while(get_bits_count(&s->gb)/8+2 < buf_size && (show_bits(&s->gb, 16) & 0xFFFE) != 0xFFF8)
+            skip_bits(&s->gb, 8);
+        goto end; // we may not have enough bits left to decode a frame, so try next time
+    }
+    skip_bits(&s->gb, 16);
+    if (decode_frame(s, alloc_data_size) < 0){
+        av_log(s->avctx, AV_LOG_ERROR, "decode_frame() failed\n");
+        s->bitstream_size=0;
+        s->bitstream_index=0;
+        return -1;
+    }
 
 #define DECORRELATE(left, right)\
             assert(s->channels == 2);\