[xiph-commits] r12080 - trunk/ffmpeg2theora

j at svn.xiph.org j at svn.xiph.org
Fri Nov 10 17:10:41 PST 2006


Author: j
Date: 2006-11-10 17:10:38 -0800 (Fri, 10 Nov 2006)
New Revision: 12080

Modified:
   trunk/ffmpeg2theora/ffmpeg2theora.c
Log:
cosmetic

Modified: trunk/ffmpeg2theora/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/ffmpeg2theora.c	2006-11-11 01:01:28 UTC (rev 12079)
+++ trunk/ffmpeg2theora/ffmpeg2theora.c	2006-11-11 01:10:38 UTC (rev 12080)
@@ -420,8 +420,8 @@
             
         }
 
-    if (video_gamma != 0.0 || video_bright != 0.0 || video_contr != 0.0) 
-      lut_init(lut, video_contr, video_bright, video_gamma);
+        if (video_gamma != 0.0 || video_bright != 0.0 || video_contr != 0.0) 
+            lut_init(lut, video_contr, video_bright, video_gamma);
     }
     if (this->audio_index >= 0){
         astream = this->context->streams[this->audio_index];
@@ -665,8 +665,9 @@
                     yuv.y = output_resized->data[0];
                     yuv.u = output_resized->data[1];
                     yuv.v = output_resized->data[2];
-                    if(got_picture || e_o_s) do {                        
-                if (lut_used) lut_apply(lut, yuv.y, yuv.y, yuv.y_width, yuv.y_height, yuv.y_stride);
+                    if(got_picture || e_o_s) do {
+                        if (lut_used) 
+                            lut_apply(lut, yuv.y, yuv.y, yuv.y_width, yuv.y_height, yuv.y_stride);
                         oggmux_add_video(&info, &yuv ,e_o_s);
                         this->frame_count++;
                     } while(dups--);



More information about the commits mailing list