On Sat, Feb 27, 2016 at 19:29:05 +, Rostislav Pehlivanov wrote:
> +av_log(avctx, AV_LOG_WARNING,
> + "Bitrate too low, clipping to minimum = %.2lf Mbps!\n",
> + (double)avctx->bit_rate/100.0f);
"%lf" is undefined in C90, and otherwise identical to "%f".
The encoder crashed on verly low bitrates since there wasn't enough
space allocated.
Signed-off-by: Rostislav Pehlivanov
---
libavcodec/vc2enc.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c
index 5e11aa1..27db6c0 100644
--