Adjust to avoid long line
authorPaul Wilkins <paulwilkins@google.com>
Wed, 9 Jun 2010 14:03:48 +0000 (15:03 +0100)
committerPaul Wilkins <paulwilkins@google.com>
Thu, 10 Jun 2010 10:15:05 +0000 (11:15 +0100)
vp8/encoder/firstpass.c

index 26f09d5..f0ddbf2 100644 (file)
@@ -1869,12 +1869,16 @@ void vp8_second_pass(VP8_COMP *cpi)
         }
     }
 
-    // Keep a globally available copy of this frames iiratio and the next.
-    cpi->this_iiratio = this_frame_intra_error / DOUBLE_DIVIDE_CHECK(this_frame_coded_error);
+    // Keep a globally available copy of this and the next frame's iiratio.
+    cpi->this_iiratio = this_frame_intra_error /
+                        DOUBLE_DIVIDE_CHECK(this_frame_coded_error);
     {
         FIRSTPASS_STATS next_frame;
         if ( lookup_next_frame_stats(cpi, &next_frame) != EOF )
-            cpi->next_iiratio = next_frame.intra_error / DOUBLE_DIVIDE_CHECK(next_frame.coded_error);
+        {
+            cpi->next_iiratio = next_frame.intra_error /
+                                DOUBLE_DIVIDE_CHECK(next_frame.coded_error);
+        }
     }
 
     // Set nominal per second bandwidth for this frame