diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-12-25 23:15:20 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-01-20 21:42:20 +0100 |
commit | f64c0dffa13e6263de3fdff0058ab2fdb03ac1d6 (patch) | |
tree | b8c12258322fdb6829b3528a09431f67e498be78 /libavcodec/cinepak.c | |
parent | 12b1338be376a3e5fb606d9fe41b58dc4a9e62c7 (diff) | |
download | ffmpeg-f64c0dffa13e6263de3fdff0058ab2fdb03ac1d6.tar.gz |
avutil/imgutils: Optimize memset_bytes() by using av_memcpy_backptr()
This is strongly based on code by Marton Balint, and depends on the previous commit
Fixes: Timeout
Fixes: 11502/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WCMV_fuzzer-5664893810769920
Before: Executed clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WCMV_fuzzer-5664893810769920 in 11209 ms
After: Executed clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WCMV_fuzzer-5664893810769920 in 4104 ms
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/cinepak.c')
0 files changed, 0 insertions, 0 deletions