Simplify an assignment statement
authorJeff Faust <jfaust@google.com>
Wed, 18 Jan 2012 02:15:05 +0000 (18:15 -0800)
committerJeff Faust <jfaust@google.com>
Wed, 18 Jan 2012 20:49:43 +0000 (12:49 -0800)
Separated a double assignment that looked suspiciously like an
assignment and equality typo.

Change-Id: I7813979e9d7ea2539afb3c8ae6074f9df5ebdf52

vp8/encoder/onyx_if.c

index 9223781..8415ac6 100644 (file)
@@ -4706,8 +4706,8 @@ int vp8_get_compressed_data(VP8_COMP *cpi, unsigned int *frame_flags, unsigned l
 
     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;