aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/f_sendcmd.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2025-06-07 01:12:20 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2025-06-07 19:36:49 +0200
commit21fd1b5ba5fc6f2d7a13d97b056c615b1e237558 (patch)
tree25d7dae9e696a4b9a1af366c4ad7bb54bd753105 /libavfilter/f_sendcmd.c
parent4611ed5cc38d0367186f936dc015a9b3946c3edf (diff)
downloadffmpeg-21fd1b5ba5fc6f2d7a13d97b056c615b1e237558.tar.gz
avformat/dhav: Do not evaluate avio_size() multiple times
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 Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/f_sendcmd.c')
0 files changed, 0 insertions, 0 deletions