[FFmpeg-devel] [PATCH] libsvtav1: Enable 2-pass encoding

Fredrik Lundkvist fredrik.lundkvist at svt.se
Thu May 16 09:59:57 EEST 2024


To continue this discussion.


>> +                av_base64_encode(avctx->stats_out, b64_size, first_pass_stats.buf, first_pass_stats.sz);

> Unchecked return value.


I don’t see any non-test instance in the code base where the return value of av_base64_encode is actually checked. Unchecked calls are however found in many places, f.ex. libaomenc, librav1e, and matroskadec. IMO it should be consistent across the code base, and thus stay as is in this patch.


/Fredrik


More information about the ffmpeg-devel mailing list