On Sat, Jun 07, 2025 at 05:23:26PM +0100, Derek Buitenhuis wrote: > On 6/7/2025 12:12 AM, Michael Niedermayer wrote: > > Code like FFMIN(MAX_DURATION_BUFFER_SIZE, avio_size(s->pb)) is not safe > > as FFMIN() is a macro and avio_size() is thus evaluated multiple > > times > > > > CC: Justin Ruggles > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/dhav.c | 7 ++++--- > > 1 file changed, 4 insertions(+), 3 deletions(-) > > LGTM. will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Never trust a computer, one day, it may think you are the virus. -- Compn