Browse Source

Merge commit '167ea1fbf15ecefa30729f9b8d091ed431bf43bd'

* commit '167ea1fbf15ecefa30729f9b8d091ed431bf43bd':
  xavs: Do not try to set the bitrate tolerance without a bitrate

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
tags/n2.8
Hendrik Leppkes 10 years ago
parent
commit
87ee98c898
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/libxavs.c

+ 1
- 1
libavcodec/libxavs.c View File

@@ -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)) {


Loading…
Cancel
Save