diff options
author | Adrian Grange <agrange@google.com> | 2012-01-31 12:58:34 -0800 |
---|---|---|
committer | Adrian Grange <agrange@google.com> | 2012-01-31 12:58:34 -0800 |
commit | 3ff8c7d9689f3fd401251d1125475c91e89d78e7 (patch) | |
tree | d9fb4984adfdaf59aa355892a39537be1ff07c5b /vp8/encoder | |
parent | b72ab88d75868c2ff7aaf1c32cabb88f55e73a64 (diff) | |
download | libvpx-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.c | 2 |
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++ ) { |