diff options
author | Michael Niedermayer <[email protected]> | 2025-06-07 01:12:20 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2025-06-07 19:36:49 +0200 |
commit | 21fd1b5ba5fc6f2d7a13d97b056c615b1e237558 (patch) | |
tree | 25d7dae9e696a4b9a1af366c4ad7bb54bd753105 /libavutil/vulkan.c | |
parent | 4611ed5cc38d0367186f936dc015a9b3946c3edf (diff) |
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 <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavutil/vulkan.c')
0 files changed, 0 insertions, 0 deletions