shithub: libvpx

Download patch

ref: 15c29afeca9dee2e693bd113509006c5c8854854
parent: e479379abb071050d45273c614c37253522bf7b0
author: Jeff Faust <jfaust@google.com>
date: Tue Jan 17 13:15:05 EST 2012

Simplify an assignment statement

Separated a double assignment that looked suspiciously like an
assignment and equality typo.

Change-Id: I7813979e9d7ea2539afb3c8ae6074f9df5ebdf52

--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -4706,8 +4706,8 @@
 
     if (cpi->source)
     {
-        cpi->un_scaled_source =
         cpi->Source = force_src_buffer ? force_src_buffer : &cpi->source->img;
+        cpi->un_scaled_source = cpi->Source;
         *time_stamp = cpi->source->ts_start;
         *time_end = cpi->source->ts_end;
         *frame_flags = cpi->source->flags;