1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/libavutil
Michael Niedermayer 532b6c2b25 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>
(cherry picked from commit f64c0dffa1)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-24 10:38:51 +01:00
..
aarch64 avutil/cpu: split flag checks per arch in av_cpu_max_align() 2017-09-27 23:10:09 -03:00
arm lavu/arm: Check for have_vfp_vm instead of !have_vfpv3 for float_dsp_vfp 2017-10-23 13:31:37 +02:00
avr32
bfin
mips avcodec/mips: Improve avc bi-weighted mc msa functions 2017-10-10 23:58:41 +02:00
ppc avutil/cpu: split flag checks per arch in av_cpu_max_align() 2017-09-27 23:10:09 -03:00
sh4
tests add missing ignore files 2017-09-10 19:08:33 +02:00
tomi
x86 avutil/cpu: split flag checks per arch in av_cpu_max_align() 2017-09-27 23:10:09 -03:00
.gitignore
adler32.c
adler32.h
aes_ctr.c
aes_ctr.h
aes_internal.h
aes.c
aes.h
atomic_gcc.h
atomic_suncc.h
atomic_win32.h
atomic.c
atomic.h
attributes.h
audio_fifo.c
audio_fifo.h
avassert.h
avstring.c
avstring.h
avutil.h
avutilres.rc
base64.c
base64.h
blowfish.c
blowfish.h
bprint.c
bprint.h
bswap.h
buffer_internal.h
buffer.c
buffer.h
camellia.c
camellia.h
cast5.c
cast5.h
channel_layout.c
channel_layout.h
color_utils.c
color_utils.h
colorspace.h
common.h avutil/common: Fix undefined behavior in av_clip_uintp2_c() 2018-06-18 01:16:04 +02:00
cpu_internal.h avutil/cpu: split flag checks per arch in av_cpu_max_align() 2017-09-27 23:10:09 -03:00
cpu.c avutil/cpu: split flag checks per arch in av_cpu_max_align() 2017-09-27 23:10:09 -03:00
cpu.h Merge commit 'e6bff23f1e11aefb16a2b5d6ee72bf7469c5a66e' 2017-09-27 23:03:57 -03:00
crc.c
crc.h
des.c
des.h
dict.c
dict.h
display.c
display.h
downmix_info.c
downmix_info.h
dynarray.h
error.c
error.h
eval.c avutil/eval: add linear interpolation helper 2017-08-19 12:42:24 +02:00
eval.h
ffmath.h
fifo.c
fifo.h
file_open.c
file.c
file.h
fixed_dsp.c
fixed_dsp.h
float_dsp.c
float_dsp.h
frame.c Merge commit '4de220d2e3751c459f8739a08ac6ca52e63eba30' 2017-09-27 23:31:53 -03:00
frame.h avutil/frame: Fix project name 2017-10-11 00:02:07 +02:00
hash.c
hash.h
hmac.c
hmac.h
hwcontext_cuda_internal.h
hwcontext_cuda.c hwcontext_cuda : Support YUV444P16 format 2017-08-03 15:25:35 -07:00
hwcontext_cuda.h
hwcontext_d3d11va.c d3d11va: Check WINAPI_FAMILY instead of HAVE_LOADLIBRARY 2017-08-10 11:58:25 +02:00
hwcontext_d3d11va.h hwcontext_d3d11va: use correct license header 2017-06-28 00:19:55 +02:00
hwcontext_drm.c lavu: Add DRM hwcontext 2017-09-13 22:03:27 +01:00
hwcontext_drm.h lavu: Add DRM hwcontext 2017-09-13 22:03:27 +01:00
hwcontext_dxva2.c hwcontext_dxva2: initialize D3DDISPLAYMODEEX correctly 2018-01-04 18:20:54 -03:00
hwcontext_dxva2.h dxva: add support for new dxva2 and d3d11 hwaccel APIs 2017-06-27 18:05:02 +02:00
hwcontext_internal.h lavu: Add DRM hwcontext 2017-09-13 22:03:27 +01:00
hwcontext_qsv.c hwcontext: Perform usual initialisation on derived device contexts 2017-10-09 00:11:53 +01:00
hwcontext_qsv.h
hwcontext_vaapi.c hwcontext_vaapi: Remove use of vaExportSurfaceHandle() 2017-10-15 12:45:15 +01:00
hwcontext_vaapi.h hwcontext_vaapi: Try to support the VDPAU wrapper 2017-06-14 22:23:43 +01:00
hwcontext_vdpau.c
hwcontext_vdpau.h
hwcontext_videotoolbox.c
hwcontext_videotoolbox.h
hwcontext.c hwcontext: Perform usual initialisation on derived device contexts 2017-10-09 00:11:53 +01:00
hwcontext.h lavu: Add DRM hwcontext 2017-09-13 22:03:27 +01:00
imgutils_internal.h
imgutils.c avutil/imgutils: Optimize memset_bytes() by using av_memcpy_backptr() 2019-03-24 10:38:51 +01:00
imgutils.h Merge commit 'ce6d72d10776b03c6780d4aa676414ce002285d4' 2017-09-27 20:35:04 -03:00
integer.c avutil/integer: Fix integer overflow in av_mul_i() 2018-10-28 02:22:42 +02:00
integer.h
internal.h
intfloat.h
intmath.c
intmath.h
intreadwrite.h
lfg.c
lfg.h
libavutil.v
libm.h
lls.c
lls.h
log2_tab.c
log.c
log.h
lzo.c
lzo.h
macros.h
Makefile lavu: Add DRM hwcontext 2017-09-13 22:03:27 +01:00
mastering_display_metadata.c
mastering_display_metadata.h
mathematics.c
mathematics.h
md5.c
md5.h
mem_internal.h
mem.c avutil/mem: Optimize fill32() by unrolling and using 64bit 2019-03-24 10:38:51 +01:00
mem.h
motion_vector.h
murmur3.c
murmur3.h
opencl_internal.c
opencl_internal.h
opencl.c libavutil/opencl: fix potential null dereference 2017-08-27 21:08:17 +02:00
opencl.h
opt.c lavu/opt: Use "&&" instead of "*" in boolean expression. 2017-10-08 23:15:53 +02:00
opt.h
parseutils.c
parseutils.h
pca.c
pca.h
pixdesc.c Merge commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3' 2017-09-26 16:02:40 -03:00
pixdesc.h pixdesc: Add API to map color property names to enum values 2017-09-21 13:33:29 +02:00
pixelutils.c
pixelutils.h
pixfmt.h avutil/pixfmt: Document chroma plane size for odd resolutions 2018-10-28 02:22:42 +02:00
qsort.h
random_seed.c
random_seed.h
rational.c
rational.h
rc4.c
rc4.h
replaygain.h
reverse.c
reverse.h
ripemd.c
ripemd.h
samplefmt.c
samplefmt.h
sha512.c
sha512.h
sha.c
sha.h
slicethread.c avutil: merge slice threading implementation from avcodec and avfilter 2017-07-19 15:50:07 +07:00
slicethread.h avutil: merge slice threading implementation from avcodec and avfilter 2017-07-19 15:50:07 +07:00
softfloat_ieee754.h
softfloat_tables.h
softfloat.h avutil/softfloat: Add FLOAT_MIN 2017-12-07 23:38:06 +01:00
spherical.c
spherical.h
stereo3d.c Merge commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3' 2017-09-26 16:02:40 -03:00
stereo3d.h
tablegen.h
tea.c
tea.h
thread.h
threadmessage.c avutil/threadmessage: fix error return in case of av_fifo_alloc failure 2017-07-14 02:30:37 +02:00
threadmessage.h
time_internal.h
time.c
time.h
timecode.c
timecode.h
timer.h lavu/timer.h: add Linux Perf API support 2017-09-08 18:51:05 +02:00
timestamp.h
tree.c
tree.h
twofish.c
twofish.h
utils.c lavu/utils: Use "__asm__" like everywhere else in the codebase. 2017-10-08 01:13:16 +02:00
version.h Bump minor versions for branching 3.4 2017-10-11 01:23:47 +02:00
wchar_filename.h
xga_font_data.c
xga_font_data.h
xtea.c
xtea.h