shithub: libvpx

Download patch

ref: 10ae99c67b66ebacb997068b12b47062237a0f32
parent: cd715faa50c28dfdbb5aceedd0afd904390ed618
parent: a04ed23ff56f536c3da206563f64dea19e5a7e82
author: Paul Wilkins <paulwilkins@google.com>
date: Wed Jun 9 23:24:54 EDT 2010

Merge "Adjust to avoid long line"

--- a/vp8/encoder/firstpass.c
+++ b/vp8/encoder/firstpass.c
@@ -1869,12 +1869,16 @@
         }
     }
 
-    // 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