changeset 6066:490c440a53e7 libavformat

Reindent after r23361. Patch by Francesco Lavra <francescolavra interfree it>.
author rbultje
date Fri, 28 May 2010 18:21:57 +0000
parents 441608273a5c
children 51ae348d4511
files rmenc.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/rmenc.c	Fri May 28 18:21:25 2010 +0000
+++ b/rmenc.c	Fri May 28 18:21:57 2010 +0000
@@ -61,7 +61,7 @@
 }
 
 static int rv10_write_header(AVFormatContext *ctx,
-                              int data_size, int index_pos)
+                             int data_size, int index_pos)
 {
     RMMuxContext *rm = ctx->priv_data;
     ByteIOContext *s = ctx->pb;
@@ -357,12 +357,12 @@
     write_packet_header(s, stream, size, !!(flags & AV_PKT_FLAG_KEY));
 
     if (stream->enc->codec_id == CODEC_ID_AC3) {
-    /* for AC-3, the words seem to be reversed */
-    for(i=0;i<size;i+=2) {
-        buf1[i] = buf[i+1];
-        buf1[i+1] = buf[i];
-    }
-    put_buffer(pb, buf1, size);
+        /* for AC-3, the words seem to be reversed */
+        for(i=0;i<size;i+=2) {
+            buf1[i] = buf[i+1];
+            buf1[i+1] = buf[i];
+        }
+        put_buffer(pb, buf1, size);
     } else {
         put_buffer(pb, buf, size);
     }