[Ffmpeg-cvslog] r6857 - trunk/libavcodec/x264.c

mru subversion
Wed Nov 1 19:19:20 CET 2006


Author: mru
Date: Wed Nov  1 19:19:20 2006
New Revision: 6857

Modified:
   trunk/libavcodec/x264.c

Log:
indentation


Modified: trunk/libavcodec/x264.c
==============================================================================
--- trunk/libavcodec/x264.c	(original)
+++ trunk/libavcodec/x264.c	Wed Nov  1 19:19:20 2006
@@ -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,




More information about the ffmpeg-cvslog mailing list