diff options
Diffstat (limited to 'vp8')
-rw-r--r-- | vp8/common/reconintra4x4.c | 1 | ||||
-rw-r--r-- | vp8/encoder/ratectrl.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/vp8/common/reconintra4x4.c b/vp8/common/reconintra4x4.c index 35ad891ef..cd7c24821 100644 --- a/vp8/common/reconintra4x4.c +++ b/vp8/common/reconintra4x4.c @@ -14,6 +14,7 @@ #include "./vpx_dsp_rtcd.h" #include "vp8_rtcd.h" #include "blockd.h" +#include "reconintra4x4.h" typedef void (*intra_pred_fn)(uint8_t *dst, ptrdiff_t stride, const uint8_t *above, const uint8_t *left); 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. |