summaryrefslogtreecommitdiff
path: root/vp8/encoder
diff options
context:
space:
mode:
authorAdrian Grange <agrange@google.com>2012-01-31 12:58:34 -0800
committerAdrian Grange <agrange@google.com>2012-01-31 12:58:34 -0800
commit3ff8c7d9689f3fd401251d1125475c91e89d78e7 (patch)
treed9fb4984adfdaf59aa355892a39537be1ff07c5b /vp8/encoder
parentb72ab88d75868c2ff7aaf1c32cabb88f55e73a64 (diff)
downloadlibvpx-3ff8c7d9689f3fd401251d1125475c91e89d78e7.tar
libvpx-3ff8c7d9689f3fd401251d1125475c91e89d78e7.tar.gz
libvpx-3ff8c7d9689f3fd401251d1125475c91e89d78e7.tar.bz2
libvpx-3ff8c7d9689f3fd401251d1125475c91e89d78e7.zip
Correctly capped minqtarget to maxq
This line of code incorrectly set maxq = maxq rather than capping minqtarget. Change-Id: Ifbc86df8b0ff2779e7b2a5f7349724d04a18bd62
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 729908629..309689d1b 100644
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -187,7 +187,7 @@ int calculate_minq_index( double maxq,
c );
if ( minqtarget > maxq )
- maxq = maxq;
+ minqtarget = maxq;
for ( i = 0; i < QINDEX_RANGE; i++ )
{