changeset 4834:231479c86582 libavformat

Reindent after r18372.
author rbultje
date Wed, 08 Apr 2009 03:06:08 +0000
parents d607731c2cf8
children ac71e186e2fe
files riff.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/riff.c	Wed Apr 08 03:04:57 2009 +0000
+++ b/riff.c	Wed Apr 08 03:06:08 2009 +0000
@@ -297,7 +297,7 @@
     if (waveformatextensible) {
         put_le16(pb, 0xfffe);
     } else {
-    put_le16(pb, enc->codec_tag);
+        put_le16(pb, enc->codec_tag);
     }
     put_le16(pb, enc->channels);
     put_le32(pb, enc->sample_rate);
@@ -378,10 +378,10 @@
         put_le16(pb, riff_extradata - riff_extradata_start);
     }
     put_buffer(pb, riff_extradata_start, riff_extradata - riff_extradata_start);
-        if(hdrsize&1){
-            hdrsize++;
-            put_byte(pb, 0);
-        }
+    if(hdrsize&1){
+        hdrsize++;
+        put_byte(pb, 0);
+    }
 
     return hdrsize;
 }