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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to