[PATCH 4/5] Cosmetics: indent

Tomas Härdin tomas.hardin
Tue Feb 22 11:44:37 CET 2011


---
 libavformat/wav.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/libavformat/wav.c b/libavformat/wav.c
index 0329f33..8832472 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -265,16 +265,16 @@ static int wav_read_header(AVFormatContext *s,
                 return AVERROR_INVALIDDATA;
             }
 
-    if (!rf64)
-        data_size = size;
-    if (!data_size) {
-        wav->data_end = INT64_MAX;
-    } else
-        wav->data_end= url_ftell(pb) + data_size;
+            if (!rf64)
+                data_size = size;
+            if (!data_size) {
+                wav->data_end = INT64_MAX;
+            } else
+                wav->data_end= url_ftell(pb) + data_size;
 
             /* we can't look for metadata past the data tag if streaming, so stop parsing */
             if (pb->is_streamed)
-            goto break_loop;
+                goto break_loop;
 
             /* keep going in order to parse footer metadata chunks */
             data_ofs = url_ftell(pb);
@@ -282,7 +282,7 @@ static int wav_read_header(AVFormatContext *s,
             break;
         case MKTAG('f','a','c','t'):
             if(!sample_count)
-            sample_count = avio_rl32(pb);
+                sample_count = avio_rl32(pb);
             break;
         }
         avio_seek(pb, next_tag_ofs, SEEK_SET);
-- 
1.7.1


--------------030900030900090502000506--



More information about the ffmpeg-devel mailing list