1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
FFmpeg/libavfilter
Michael Niedermayer bc5dde5ec0 avfilter/vf_yadif: Fix handing of tiny images
Fixes: out of array access
Fixes: Ticket8240
Fixes: CVE-2020-22021

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7971f62120)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit bb08ee0c6fb7bdebd37cbf00aefed206909e8f78)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-17 21:34:53 +02:00
..
x86 doc: fix spelling errors 2015-10-12 21:46:54 +02:00
aeval.c
af_adelay.c
af_aecho.c
af_afade.c avfilter: add acrossfade filter 2015-07-26 21:54:13 +00:00
af_aformat.c
af_amerge.c avfilter/af_amerge: avoid undefined shift (<<64) in outlayout setup 2015-09-05 15:14:09 +02:00
af_amix.c avfilter/af_amix: dont fail if there are no samples in output_frame() 2016-08-15 18:54:34 +02:00
af_anull.c
af_apad.c avfilter/af_apad: use the name 's' for the pointer to the private context 2015-08-29 16:38:38 +00:00
af_aphaser.c avfilter/af_aphaser: use the name 's' for the pointer to the private context 2015-08-26 09:49:02 +00:00
af_aresample.c options: mark av_get_{int,double,q} as deprecated. 2015-08-18 12:05:17 -04:00
af_asetnsamples.c
af_asetrate.c
af_ashowinfo.c Merge commit '7046bd9bc9ce04521edf453c9b603d84d69c7512' 2015-05-20 19:14:11 +02:00
af_astats.c avfilter/af_astats: use UINT64_C instead of the LLU suffix 2015-07-20 00:05:20 -03:00
af_astreamsync.c
af_asyncts.c avfilter/af_asyncts: use llabs for int64_t 2015-09-06 12:11:23 +02:00
af_atempo.c
af_biquads.c
af_bs2b.c avfilter: use AVFILTER_DEFINE_CLASS() 2015-07-02 15:36:00 +00:00
af_channelmap.c avfilter/af_channelmap: Reorder operations to avoid memleak 2015-09-04 00:10:41 +02:00
af_channelsplit.c
af_chorus.c
af_compand.c avfilter/af_compand: fix clipping with default options 2015-07-17 11:29:29 +00:00
af_dcshift.c libavfilter/af_dcshift.c: Fixed repeated spelling error 2018-01-31 22:56:14 +01:00
af_dynaudnorm.c avfilter/af_dynaudnorm: Fix typo in assert 2015-09-03 18:55:06 +02:00
af_earwax.c
af_flanger.c
af_join.c
af_ladspa.c avfilter/af_ladspa: process all channels for nb_handles > 1 2015-09-16 12:50:13 +00:00
af_pan.c lavfi: fix typos 2016-11-26 15:12:25 +01:00
af_replaygain.c
af_resample.c Merge commit '6b15874fc2c3f565732201f7907ae1112727d6ae' 2015-07-19 16:05:33 +02:00
af_sidechaincompress.c avfilter/af_sidechaincompress: Also assert that i < 2 2015-09-03 23:13:24 +02:00
af_silencedetect.c
af_silenceremove.c avfilter/af_silenceremove: fix possible crash if supplied duration is negative 2019-01-25 00:56:50 +01:00
af_volume.c
af_volume.h
af_volumedetect.c
all_channel_layouts.inc
allfilters.c avfilter: add allrgb 2015-08-29 14:57:52 +02:00
asink_anullsink.c
asrc_abuffer.h
asrc_anullsrc.c
asrc_flite.c
asrc_sine.c
audio.c avfilter: add missing FF_API_AVFILTERBUFFER guards 2015-08-30 23:24:22 +02:00
audio.h avfilter: remove obsolete function declarations 2015-08-08 21:58:48 +02:00
avcodec.c disable deprecation warnings in deprecated code 2015-08-22 19:16:14 +02:00
avcodec.h
avf_aphasemeter.c avfilter: add aphasemeter filter 2015-08-12 22:27:43 +02:00
avf_avectorscope.c avfilter/avf_avectorscope: add polar mode 2015-08-14 17:27:56 +02:00
avf_concat.c
avf_showcqt.c avfilter/avf_showcqt: Fix gamma comparisons 2015-05-12 20:31:21 +02:00
avf_showfreqs.c avfilter/avf_showfreqs: Fix memleak of out frame 2015-09-05 15:46:18 +02:00
avf_showspectrum.c avfilter/avf_showspectrum: use av_calloc() 2015-08-06 15:06:14 +02:00
avf_showvolume.c avfilter/avf_showvolume: stop making output fully transparent 2015-08-01 19:40:34 +02:00
avf_showwaves.c avfilter/avf_showwaves: Check max_samples 2015-09-03 19:27:20 +02:00
avfilter.c avfilter/avfilter: Add a few more basic filters to the list which support frame size changes 2015-09-05 11:43:27 +02:00
avfilter.h avfilter: add missing FF_API_AVFILTERBUFFER guards 2015-08-30 23:24:22 +02:00
avfiltergraph.c avfilter/avfiltergraph: Add assert to write down in machine readable form what is assumed about sample rates in swap_samplerates_on_filter() 2017-05-20 03:41:33 +02:00
avfiltergraph.h
avfilterres.rc
bbox.c
bbox.h
buffer.c
bufferqueue.h
buffersink.c avfilter: add missing FF_API_AVFILTERBUFFER guards 2015-08-30 23:24:22 +02:00
buffersink.h
buffersrc.c buffersrc: Use the correct deallocation function 2015-04-22 12:26:53 +02:00
buffersrc.h avfilter: add missing FF_API_AVFILTERBUFFER guards 2015-08-30 23:24:22 +02:00
deshake_opencl_kernel.h
deshake_opencl.c
deshake_opencl.h
deshake.h
drawutils.c avfilter/drawutils: Assert av_pix_fmt_desc_get() return value in ff_fill_line_with_color() 2015-06-13 21:33:18 +02:00
drawutils.h
dualinput.c avfilter/framesync: allocate FFFrameSyncIn internally 2015-08-26 11:12:23 +00:00
dualinput.h avfilter/framesync: allocate FFFrameSyncIn internally 2015-08-26 11:12:23 +00:00
f_drawgraph.c avfilter/vf_drawgraph: add rscroll slide mode 2015-09-03 09:12:14 +00:00
f_ebur128.c
f_interleave.c
f_perms.c
f_reverse.c avfilter: rename vf_reverse.c to f_reverse.c 2015-07-24 02:09:53 +00:00
f_select.c
f_sendcmd.c
f_zmq.c
fifo.c
filtfmts.c filtfmts: Avoid null pointer dereference 2015-04-19 23:45:35 +01:00
formats.c avfilter/formats: fix wrong function name in error message 2018-01-31 22:56:14 +01:00
formats.h
framesync.c avfilter/framesync: allocate FFFrameSyncIn internally 2015-08-26 11:12:23 +00:00
framesync.h avfilter/framesync: allocate FFFrameSyncIn internally 2015-08-26 11:12:23 +00:00
generate_wave_table.c
generate_wave_table.h
gradfun.h
graphdump.c graphdump: include internal.h for AVFilterPad 2015-08-08 21:59:21 +02:00
graphparser.c avfilter/graphparser: Do not ignore scale_sws_opts if args == NULL 2015-08-08 13:24:52 +02:00
interlace.h
internal.h avfilter: add missing FF_API_AVFILTERBUFFER guards 2015-08-30 23:24:22 +02:00
lavfutils.c avfilter/lavfutils: disable frame threads when decoding a single image 2015-04-30 03:48:33 +02:00
lavfutils.h
libavfilter.v
log2_tab.c
lswsutils.c
lswsutils.h
Makefile avfilter: add allrgb 2015-08-29 14:57:52 +02:00
opencl_allkernels.c
opencl_allkernels.h
psnr.h vf_psnr: sse2 optimizations for sum-squared-error. 2015-07-14 17:57:14 +02:00
pthread.c
removegrain.h avfilter/vf_removegrain: add x86 and x86_64 SSE2 functions 2015-07-14 23:50:50 +00:00
setpts.c Merge commit '1a3eb042c704dea190c644def5b32c9cee8832b8' 2015-04-20 03:19:47 +02:00
settb.c
split.c
src_movie.c avfilter/src_movie: fix how we check for overflows with seek_point 2016-04-27 04:40:11 +02:00
ssim.h vf_ssim: x86 simd for ssim_4x4xN and ssim_endN. 2015-07-14 05:07:07 +02:00
thread.h
tinterlace.h
transform.c
transform.h
trim.c
unsharp_opencl_kernel.h
unsharp_opencl.c
unsharp_opencl.h
unsharp.h
version.h lavfi/scale: Pass src_range and dst_range to libswscale. 2015-09-01 09:17:26 +02:00
vf_alphamerge.c
vf_aspect.c avfilter/vf_aspect: Fix integer overflow in compute_dar() 2020-04-23 21:29:01 +02:00
vf_atadenoise.c avfilter/vf_atadenoise: Check for ff_get_video_buffer() failure 2015-09-03 23:07:43 +02:00
vf_bbox.c
vf_blackdetect.c
vf_blackframe.c lavfi: fix typos 2016-11-26 15:12:25 +01:00
vf_blend.c avfilter/vf_blend: use the name 's' for the pointer to the private context 2015-08-25 18:16:55 +00:00
vf_boxblur.c
vf_codecview.c avfilter: fix a few 5 spaces indent 2015-06-07 20:18:15 +02:00
vf_colorbalance.c
vf_colorchannelmixer.c
vf_colorkey.c avfilter/vf_colorkey: Add colorkey video filter 2015-06-14 01:04:14 +02:00
vf_colorlevels.c
vf_colormatrix.c lavfi/colormatrix: Add a bt601 alias 2015-09-02 16:35:21 +02:00
vf_copy.c
vf_cover_rect.c avfilter: use AVFILTER_DEFINE_CLASS() 2015-07-02 15:36:00 +00:00
vf_crop.c libavfilter/vf_crop: implement process_command 2015-07-21 19:19:36 +02:00
vf_cropdetect.c lavfi/cropdetect: Fix cropdetect for > 8 bit input. 2015-05-04 17:50:16 +02:00
vf_curves.c
vf_dctdnoiz.c
vf_deband.c avfilter/vf_deband: add mising slice thread flag 2015-08-02 14:00:34 +02:00
vf_decimate.c
vf_dejudder.c avfilter/vf_dejudder: use the name 's' for the pointer to the private context 2015-08-28 19:05:19 +00:00
vf_delogo.c
vf_deshake.c
vf_detelecine.c
vf_drawbox.c
vf_drawtext.c avfilter/vf_drawtext: Check return code of load_glyph() 2016-04-27 04:40:12 +02:00
vf_edgedetect.c
vf_elbg.c avfilter/vf_elbg: make it possible to output to pal8 pixel format 2015-09-03 09:12:06 +00:00
vf_eq.c avfilter/vf_eq: Support contrast from -1000 to 1000 2015-07-16 18:50:24 +02:00
vf_eq.h
vf_extractplanes.c avfilter/vf_extractplanes: use faster path for input formats with only one component 2015-07-01 17:19:52 +00:00
vf_fade.c avfilter/vf_fade: Force alpha pixel format if alpha is set to 1 2015-05-31 04:31:28 +02:00
vf_fftfilt.c avfilter/vf_fftfilt: Add MAX_PLANES and change it to 4 2015-05-12 20:08:18 +02:00
vf_field.c
vf_fieldmatch.c
vf_fieldorder.c Merge commit '1a3eb042c704dea190c644def5b32c9cee8832b8' 2015-04-20 03:19:47 +02:00
vf_find_rect.c avfilter/vf_find_rect: Remove assert 2020-04-23 21:29:01 +02:00
vf_format.c
vf_fps.c
vf_framepack.c avfilter: use AVFILTER_DEFINE_CLASS() 2015-07-02 15:36:00 +00:00
vf_framerate.c avfilter: add framerate video filter 2015-08-27 20:00:36 +00:00
vf_framestep.c
vf_frei0r.c
vf_fspp.c
vf_fspp.h
vf_geq.c avfilter/vf_geq: Use av_clipd() instead of av_clipf() 2019-12-06 20:30:57 +01:00
vf_gradfun.c
vf_hflip.c
vf_histeq.c Replace av_dlog with ff_dlog. 2015-08-18 10:24:01 -04:00
vf_histogram.c avfilter/vf_histogram: Fix order of operations with flags 2015-09-03 23:02:03 +02:00
vf_hqdn3d.c avfilter/vf_hqdn3d: Initialize the whole LUT 2015-05-27 05:18:55 +02:00
vf_hqdn3d.h
vf_hqx.c
vf_hue.c
vf_idet.c
vf_idet.h
vf_il.c
vf_interlace.c
vf_kerndeint.c
vf_lenscorrection.c
vf_libopencv.c avfilter/vf_libopencv: Make ocv_filter_entries const 2015-05-02 15:13:30 +02:00
vf_lut3d.c avfilter/lut3d: assert on pixel format descriptor 2015-06-13 20:51:43 +02:00
vf_lut.c avfilter/vf_lut: fix oversight 2015-07-03 16:58:56 +00:00
vf_mcdeint.c Merge commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615' 2015-07-27 22:10:35 +02:00
vf_mergeplanes.c avfilter/framesync: allocate FFFrameSyncIn internally 2015-08-26 11:12:23 +00:00
vf_mpdecimate.c avfilter/vf_mpdecimate: Add missing emms_c() 2015-12-17 21:32:17 +01:00
vf_neighbor.c avfilter: add erosion, dilation, deflate & inflate filter 2015-07-15 13:21:47 +00:00
vf_noise.c
vf_noise.h
vf_null.c
vf_overlay.c
vf_owdenoise.c avfilter: fix a few 5 spaces indent 2015-06-07 20:18:15 +02:00
vf_pad.c Revert "lavfi: always check av_expr_parse_and_eval() return value" 2015-05-05 16:27:24 +02:00
vf_palettegen.c Replace av_dlog with ff_dlog. 2015-08-18 10:24:01 -04:00
vf_paletteuse.c Replace av_dlog with ff_dlog. 2015-08-18 10:24:01 -04:00
vf_perspective.c
vf_phase.c
vf_pixdesctest.c
vf_pp7.c
vf_pp7.h
vf_pp.c
vf_psnr.c vf_psnr: add psnr_avg to stats file. 2015-08-05 09:19:09 -04:00
vf_pullup.c
vf_pullup.h
vf_qp.c avfilter/vf_qp: Fix use of uinitialized variable 2015-04-21 22:54:13 +02:00
vf_random.c avfilter: add random video filter 2015-07-19 19:01:00 +00:00
vf_removegrain.c avfilter/vf_removegrain: add x86 and x86_64 SSE2 functions 2015-07-14 23:50:50 +00:00
vf_removelogo.c
vf_repeatfields.c
vf_rotate.c
vf_sab.c avfilter/vf_sab: use the name 's' for the pointer to the private context 2015-09-03 09:47:44 +00:00
vf_scale.c avfilter/vf_scale: Fix adding 0 to NULL (which is UB) in scale_slice() 2021-10-17 21:34:53 +02:00
vf_separatefields.c avfilter/vf_separatefields: use the name 's' for the pointer to the private context 2015-08-30 15:58:12 +00:00
vf_setfield.c
vf_showinfo.c
vf_showpalette.c
vf_shuffleplanes.c avfilter: use AVFILTER_DEFINE_CLASS() 2015-07-02 15:36:00 +00:00
vf_signalstats.c
vf_smartblur.c avfilter/vf_smartblur: use the name 's' for the pointer to the private context 2015-07-15 13:34:56 +00:00
vf_spp.c avfilter/vf_spp: use the name 's' for the pointer to the private context 2015-09-01 12:02:56 +00:00
vf_spp.h
vf_ssim.c avfilter/vf_ssim: Fix "incompatible pointer type" warnings 2015-07-14 13:29:55 +02:00
vf_stack.c avfilter/vf_stack: Fix memleak of out frame 2015-09-05 14:41:45 +02:00
vf_stereo3d.c avfilter/vf_stereo3d: implement slice threading for anaglyph output 2015-07-12 20:05:56 +00:00
vf_subtitles.c avfilter/vf_subtitles: allow setting fonts directory 2015-09-02 00:47:52 +02:00
vf_super2xsai.c
vf_swapuv.c
vf_telecine.c avfilter/vf_telecine: Make frame writable before writing into it 2016-08-15 18:54:34 +02:00
vf_thumbnail.c
vf_tile.c
vf_tinterlace.c lavfi/tinterlace: Double aspect ratio for modes merge and pad. 2015-06-04 17:03:29 +02:00
vf_transpose.c avfilter/vf_transpose: Fix used plane count. 2018-01-31 23:47:15 +01:00
vf_unsharp.c
vf_uspp.c avfilter/vf_uspp: Fix currently unused input frame dimensions 2017-05-20 03:41:33 +02:00
vf_vectorscope.c avfilter/vf_vectorscope: change intensity to float 2015-09-04 18:47:46 +00:00
vf_vflip.c
vf_vidstabdetect.c
vf_vidstabtransform.c
vf_vignette.c avfilter: fix a few 5 spaces indent 2015-06-07 20:18:15 +02:00
vf_w3fdif.c avfilter/vf_w3fdif: implement slice threading 2015-07-12 20:06:03 +00:00
vf_waveform.c avfilter/vf_waveform: stop abusing s->size for calculating limit 2015-09-04 17:34:23 +00:00
vf_xbr.c
vf_yadif.c avfilter/vf_yadif: Fix handing of tiny images 2021-10-17 21:34:53 +02:00
vf_zoompan.c avfilter/vf_zoompan: do not free frame we pushed to lavfi 2016-01-02 21:21:43 +01:00
video.c
video.h
vidstabutils.c
vidstabutils.h
vsink_nullsink.c
vsrc_cellauto.c Replace av_dlog with ff_dlog. 2015-08-18 10:24:01 -04:00
vsrc_life.c Replace av_dlog with ff_dlog. 2015-08-18 10:24:01 -04:00
vsrc_mandelbrot.c
vsrc_mptestsrc.c
vsrc_testsrc.c avfilter: add allrgb 2015-08-29 14:57:52 +02:00
yadif.h