On 2015-09-28 15:11, Carl Eugen Hoyos wrote:
Arttu Ylä-Outinen tut.fi> writes:
The divisor and dividend in the equation had been swapped,
making the result the inverse of the actual bitrate.
cfg->framerate =
- (double)(avctx->time_base.num * avctx->ticks_per_frame) /
avctx->time_bas
Arttu Ylä-Outinen tut.fi> writes:
> The divisor and dividend in the equation had been swapped,
> making the result the inverse of the actual bitrate.
> cfg->framerate =
> - (double)(avctx->time_base.num * avctx->ticks_per_frame) /
> avctx->time_base.den;
> + avctx->time_base.den
The divisor and dividend in the equation had been swapped, making the
result the inverse of the actual bitrate.
Signed-off-by: Arttu Ylä-Outinen
---
libavcodec/libkvazaar.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c
in