changeset 4115:4e1b1a37e9d6 libavcodec

indentation
author mru
date Wed, 01 Nov 2006 18:19:20 +0000
parents 903017d72ffe
children 7a08ccdc8550
files x264.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/x264.c	Wed Nov 01 18:18:48 2006 +0000
+++ b/x264.c	Wed Nov 01 18:19:20 2006 +0000
@@ -79,13 +79,13 @@
     x4->pic.img.i_plane = 3;
 
     if (frame) {
-    for(i = 0; i < 3; i++){
-        x4->pic.img.plane[i] = frame->data[i];
-        x4->pic.img.i_stride[i] = frame->linesize[i];
-    }
+        for(i = 0; i < 3; i++){
+            x4->pic.img.plane[i] = frame->data[i];
+            x4->pic.img.i_stride[i] = frame->linesize[i];
+        }
 
-    x4->pic.i_pts = frame->pts;
-    x4->pic.i_type = X264_TYPE_AUTO;
+        x4->pic.i_pts = frame->pts;
+        x4->pic.i_type = X264_TYPE_AUTO;
     }
 
     if(x264_encoder_encode(x4->enc, &nal, &nnal, frame? &x4->pic: NULL,