diff options
author | Yaowu Xu <yaowu@google.com> | 2016-06-28 12:28:45 -0700 |
---|---|---|
committer | Yaowu Xu <yaowu@google.com> | 2016-06-28 12:28:45 -0700 |
commit | 43ae6c1e2298d6ccc51511587ce9bc32a83b168a (patch) | |
tree | 00b55079b9d4d73114cf53d802f4720207d681c1 /vp8/encoder/ratectrl.c | |
parent | b2d690187e0386546ba482a877770e67761f2f80 (diff) | |
download | libvpx-43ae6c1e2298d6ccc51511587ce9bc32a83b168a.tar libvpx-43ae6c1e2298d6ccc51511587ce9bc32a83b168a.tar.gz libvpx-43ae6c1e2298d6ccc51511587ce9bc32a83b168a.tar.bz2 libvpx-43ae6c1e2298d6ccc51511587ce9bc32a83b168a.zip |
Remove effectless initialization
Change-Id: Iec117841a7ecf6f99d2b718057d8646e221c5c64
Diffstat (limited to 'vp8/encoder/ratectrl.c')
-rw-r--r-- | vp8/encoder/ratectrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/ratectrl.c b/vp8/encoder/ratectrl.c index 7da3d71ad..96d00cbf7 100644 --- a/vp8/encoder/ratectrl.c +++ b/vp8/encoder/ratectrl.c @@ -1593,7 +1593,7 @@ int vp8_drop_encodedframe_overshoot(VP8_COMP *cpi, int Q) { if (Q < thresh_qp && cpi->projected_frame_size > thresh_rate && pred_err_mb > thresh_pred_err_mb) { - double new_correction_factor = cpi->rate_correction_factor; + double new_correction_factor; const int target_size = cpi->av_per_frame_bandwidth; int target_bits_per_mb; // Drop this frame: advance frame counters, and set force_maxqp flag. |