Commit 87ee98c8 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '167ea1fb'

* commit '167ea1fb':
  xavs: Do not try to set the bitrate tolerance without a bitrate
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 0f72dfeb 167ea1fb
......@@ -356,7 +356,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
if (avctx->bit_rate > 0)
x4->params.rc.f_rate_tolerance =
(float)avctx->bit_rate_tolerance/avctx->bit_rate;
(float)avctx->bit_rate_tolerance / avctx->bit_rate;
if ((avctx->rc_buffer_size) &&
(avctx->rc_initial_buffer_occupancy <= avctx->rc_buffer_size)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment