diff options
author | James Almer <jamrial@gmail.com> | 2022-05-31 16:57:58 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-06-06 09:40:44 -0300 |
commit | 93505a9095bbacba9b2102a05191e0bc8ba36d4b (patch) | |
tree | 035074afd2d4fcfe3a1f2b4ea28ba5901a056692 /libavcodec/half2float.h | |
parent | 73302aa193714958afb8262ceb14d9613e9df5ad (diff) | |
download | ffmpeg-93505a9095bbacba9b2102a05191e0bc8ba36d4b.tar.gz |
tools/target_dec_fuzzer: add a custom get_buffer2() implementation
Unlike avcodec_default_get_buffer2(), this version does not allocate more than
what the lavu image helper functions consider should be allocated for a given
frame.
Since the get_buffer2() documentation does not require any kind of buffer
padding for any of the planes, this should help detect bugs in our DR1 decoders
if they read beyond the end of the buffer, simulating what some library users
might experience when they use their own custom get_buffer2() implementations.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/half2float.h')
0 files changed, 0 insertions, 0 deletions