On 13/05/16 19:33, Vittorio Giovara wrote: > On Fri, May 13, 2016 at 1:15 PM, Luca Barbato <[email protected]> wrote: >> --- >> libavcodec/utils.c | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/libavcodec/utils.c b/libavcodec/utils.c >> index d42885d..b4fca03 100644 >> --- a/libavcodec/utils.c >> +++ b/libavcodec/utils.c >> @@ -1063,6 +1063,14 @@ FF_ENABLE_DEPRECATION_WARNINGS >> if (!avctx->rc_initial_buffer_occupancy) >> avctx->rc_initial_buffer_occupancy = avctx->rc_buffer_size * 3 >> / 4; >> >> + if (avctx->time_base.num <= 0 || >> + avctx->time_base.den <= 0) { >> + av_log(avctx, AV_LOG_ERROR, "Impossible time base %d/%d.", > > Invalid maybe?
Sure, thanks for spotting! lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
