summaryrefslogtreecommitdiff
path: root/vp8/encoder
diff options
context:
space:
mode:
authorJeff Faust <jfaust@google.com>2012-01-17 18:15:05 -0800
committerJeff Faust <jfaust@google.com>2012-01-18 12:49:43 -0800
commit15c29afeca9dee2e693bd113509006c5c8854854 (patch)
treee55746e709cc6493823e0b9e09ba48677dc28c98 /vp8/encoder
parente479379abb071050d45273c614c37253522bf7b0 (diff)
downloadlibvpx-15c29afeca9dee2e693bd113509006c5c8854854.tar
libvpx-15c29afeca9dee2e693bd113509006c5c8854854.tar.gz
libvpx-15c29afeca9dee2e693bd113509006c5c8854854.tar.bz2
libvpx-15c29afeca9dee2e693bd113509006c5c8854854.zip
Simplify an assignment statement
Separated a double assignment that looked suspiciously like an assignment and equality typo. Change-Id: I7813979e9d7ea2539afb3c8ae6074f9df5ebdf52
Diffstat (limited to 'vp8/encoder')
-rw-r--r--vp8/encoder/onyx_if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c
index 9223781af..8415ac6e2 100644
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -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;