[FFmpeg-devel] [PATCHv4] avcodec: Add librav1e encoder
Derek Buitenhuis
derek.buitenhuis at gmail.com
Mon Jul 15 17:23:43 EEST 2019
On 13/07/2019 19:37, James Almer wrote:
> Just use av_reallocp(). Each call will make the buffer bigger, so you're
> not really making use the no-op benefits from av_fast_realloc(), which
> only trigger if newsize <= size.
I'll wait for your reply to Nicholas and do whichevr people agree on.
>> + ctx->pass_size = (strlen(avctx->stats_in) * 3) / 4;
>
> AV_BASE64_DECODE_SIZE(strlen(avctx->stats_in));
I copied this directly from libtheoraenc.c which has had this for more than 10
years... is it wrong? Should it be changed too?
- Derek
More information about the ffmpeg-devel
mailing list