1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-12 19:18:44 +02:00
FFmpeg/libavfilter
Andreas Rheinhardt e2d4a5807f avfilter/af_headphone: Don't use uninitialized buffer in log message
This buffer was supposed to be initialized by sscanf(input, "%7[A-Z]%n",
buf, &len), yet if the first input character is not in the A-Z range,
buf is not touched (in particular it needn't be zero-terminated if the
failure happened when parsing the first channel and it still contains
the last channel name if the failure happened when one channel name
could be successfully parsed). This is treated as error in which case
buf is used directly in the log message. This commit fixes this by
actually using the string that could not be matched in the log message
instead.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-09-09 13:36:54 +02:00
..
aarch64
dnn dnn_backend_native_layer_conv2d.c:Add mutithread function 2020-09-09 14:24:36 +08:00
opencl
tests lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
x86 Revert "avfilter/yadif: simplify the code for better readability" 2020-08-27 07:30:30 +08:00
.gitignore
aeval.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_acontrast.c
af_acopy.c
af_acrossover.c
af_acrusher.c
af_adeclick.c
af_adelay.c
af_aderivative.c
af_aecho.c
af_aemphasis.c
af_afade.c
af_afftdn.c
af_afftfilt.c
af_afir.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_afir.h
af_aformat.c avfilter/af_aformat: Add uninit function 2020-08-24 01:01:02 +02:00
af_agate.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_aiir.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_alimiter.c
af_amerge.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_amix.c avfilter/af_amix: Fix double-free of AVFilterChannelLayouts on error 2020-08-23 23:26:15 +02:00
af_amultiply.c
af_anequalizer.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_anlmdn.c
af_anlmdndsp.h
af_anlms.c
af_anull.c
af_apad.c
af_aphaser.c
af_apulsator.c
af_aresample.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_arnndn.c avfilter/af_arnndn: reduce size of second_check[] table 2020-09-04 18:02:52 +02:00
af_asetnsamples.c
af_asetrate.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_ashowinfo.c
af_asoftclip.c
af_asr.c
af_astats.c
af_asubboost.c
af_atempo.c
af_axcorrelate.c
af_biquads.c avfilter/af_biquads: add different transform types 2020-08-21 22:46:07 +02:00
af_bs2b.c
af_channelmap.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_channelsplit.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_chorus.c
af_compand.c
af_compensationdelay.c avfilter/af_compensationdelay: always initialize w_ptr with 0 2020-08-27 18:10:24 +02:00
af_crossfeed.c
af_crystalizer.c
af_dcshift.c
af_deesser.c
af_drmeter.c
af_dynaudnorm.c
af_earwax.c
af_extrastereo.c
af_firequalizer.c
af_flanger.c
af_haas.c
af_hdcd.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_headphone.c avfilter/af_headphone: Don't use uninitialized buffer in log message 2020-09-09 13:36:54 +02:00
af_join.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_ladspa.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_loudnorm.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_lv2.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_mcompand.c
af_pan.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_replaygain.c
af_resample.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_rubberband.c
af_sidechaincompress.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_silencedetect.c
af_silenceremove.c
af_sofalizer.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_stereotools.c
af_stereowiden.c
af_superequalizer.c
af_surround.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
af_tremolo.c
af_vibrato.c
af_volume.c
af_volume.h
af_volumedetect.c
allfilters.c avfilter: remove useless cast 2020-08-23 10:40:55 +02:00
asink_anullsink.c
asrc_afirsrc.c avfilter/formats: Schedule avfilter_make_format64_list() for removal 2020-08-12 21:10:59 +02:00
asrc_anoisesrc.c avfilter/formats: Schedule avfilter_make_format64_list() for removal 2020-08-12 21:10:59 +02:00
asrc_anullsrc.c avfilter/asrc_anullsrc: remove not useful function 2020-09-04 19:37:29 +02:00
asrc_flite.c
asrc_hilbert.c avfilter/formats: Schedule avfilter_make_format64_list() for removal 2020-08-12 21:10:59 +02:00
asrc_sinc.c avfilter/formats: Schedule avfilter_make_format64_list() for removal 2020-08-12 21:10:59 +02:00
asrc_sine.c avfilter/formats: Schedule avfilter_make_format64_list() for removal 2020-08-12 21:10:59 +02:00
atadenoise.h
audio.c
audio.h avfilter/audio: Remove unused array, move used-only-once array 2020-08-21 18:18:08 +02:00
avf_abitscope.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
avf_ahistogram.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
avf_aphasemeter.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
avf_avectorscope.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
avf_concat.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
avf_showcqt.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
avf_showcqt.h
avf_showfreqs.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
avf_showspatial.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
avf_showspectrum.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
avf_showvolume.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
avf_showwaves.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
avfilter.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
avfilter.h lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
avfiltergraph.c lavfi: check the validity of formats lists. 2020-09-08 14:10:31 +02:00
avfilterres.rc
bbox.c
bbox.h
blend.h
boxblur.c
boxblur.h
bufferqueue.h
buffersink.c lavfi/buffersink: remove redundant channel layouts. 2020-09-08 14:10:31 +02:00
buffersink.h lavfi/buffersink: add a summary documentation of the API. 2020-08-20 12:49:08 +02:00
buffersrc.c
buffersrc.h
bwdif.h
colorspace.c
colorspace.h
colorspacedsp_template.c
colorspacedsp_yuv2yuv_template.c
colorspacedsp.c
colorspacedsp.h
convolution.h
deshake.h
dnn_interface.h dnn: move output name from DNNModel.set_input_output to DNNModule.execute_model 2020-08-25 09:02:59 +08:00
drawutils.c
drawutils.h
ebur128.c
ebur128.h
f_bench.c
f_cue.c
f_drawgraph.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
f_ebur128.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
f_graphmonitor.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
f_interleave.c
f_loop.c
f_metadata.c
f_perms.c
f_realtime.c
f_reverse.c
f_select.c
f_sendcmd.c
f_sidedata.c avfilter/f_sidedata: Add SEI_UNREGISTERED frame side data type 2020-08-23 08:12:49 +08:00
f_streamselect.c
f_zmq.c
fifo.c avfilter/fifo: Remove unused functions and headers 2020-08-21 12:24:06 +02:00
filters.h
formats.c lavfi/formats: more logical testing of inputs and outputs. 2020-09-08 14:22:24 +02:00
formats.h lavfi: check the validity of formats lists. 2020-09-08 14:10:31 +02:00
framepool.c
framepool.h
framequeue.c
framequeue.h
framerate.h
framesync.c
framesync.h
gblur.h
generate_wave_table.c
generate_wave_table.h
glslang.cpp libavfilter/glslang: Remove unused header 2020-07-11 13:01:33 +01:00
glslang.h
gradfun.h
graphdump.c
graphparser.c avfilter/graphparser: Fix memleak when linking filters fails 2020-08-23 19:57:42 +02:00
hermite.h
hflip.h lavfi/hflip: Support Bayer pixel formats. 2020-08-25 01:29:24 +02:00
internal.h avfilter/formats: Remove unused functions 2020-08-21 18:28:40 +02:00
lavfutils.c
lavfutils.h
libavfilter.v
limiter.h
log2_tab.c
lswsutils.c
lswsutils.h
Makefile avfilter/vf_alphamerge: use framesync 2020-09-04 19:37:29 +02:00
maskedclamp.h
maskedmerge.h
median_template.c
median.h
motion_estimation.c
motion_estimation.h
opencl_source.h
opencl.c
opencl.h
phase_template.c
psnr.h
pthread.c
qsvvpp.c
qsvvpp.h
removegrain.h
scale_eval.c
scale_eval.h
scene_sad.c
scene_sad.h
setpts.c lavfi/setpts: fix setpts/asetpts option dump error 2020-07-12 08:11:42 +08:00
settb.c
signature_lookup.c
signature.h
split.c
src_movie.c Revert "avfilter/src_movie: switch to activate" 2020-09-08 14:57:53 +02:00
ssim.h
stereo3d.h
thread.h
threshold.h
tinterlace.h avfilter/vf_tinterlace: use frame counter from lavfi 2020-07-17 13:53:55 +02:00
transform.c
transform.h
transpose.h
trim.c
unsharp.h
v360.h
vaapi_vpp.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vaapi_vpp.h
vaf_spectrumsynth.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
version.h avfilter: add chromanr video filter 2020-07-08 15:23:43 +02:00
vf_addroi.c
vf_alphamerge.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_amplify.c
vf_aspect.c
vf_atadenoise.c
vf_avgblur_opencl.c
vf_avgblur_vulkan.c
vf_avgblur.c
vf_bbox.c
vf_bilateral.c avfilter/vf_bilateral: simplify code a little 2020-07-18 10:22:12 +02:00
vf_bitplanenoise.c
vf_blackdetect.c
vf_blackframe.c
vf_blend.c
vf_bm3d.c avfilter/vf_bm3d: Don't allocate inpad names 2020-08-26 23:52:56 +02:00
vf_boxblur.c
vf_bwdif.c Revert "avfilter/yadif: simplify the code for better readability" 2020-08-27 07:30:30 +08:00
vf_cas.c
vf_chromaber_vulkan.c
vf_chromakey.c
vf_chromanr.c avfilter/vf_chromanr: move thres calculation to filter_frame() 2020-07-10 23:09:19 +02:00
vf_chromashift.c
vf_ciescope.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_codecview.c
vf_colorbalance.c
vf_colorchannelmixer.c
vf_colorconstancy.c
vf_colorkey_opencl.c
vf_colorkey.c
vf_colorlevels.c
vf_colormatrix.c
vf_colorspace.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_convolution_opencl.c
vf_convolution.c
vf_convolve.c
vf_copy.c
vf_coreimage.m lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_cover_rect.c
vf_crop.c
vf_cropdetect.c
vf_curves.c
vf_datascope.c
vf_dblur.c
vf_dctdnoiz.c
vf_deband.c
vf_deblock.c
vf_decimate.c avfilter/vf_decimate: Don't allocate inpad names 2020-08-26 23:52:56 +02:00
vf_dedot.c
vf_deflicker.c
vf_deinterlace_qsv.c
vf_deinterlace_vaapi.c
vf_dejudder.c
vf_delogo.c
vf_derain.c dnn: move output name from DNNModel.set_input_output to DNNModule.execute_model 2020-08-25 09:02:59 +08:00
vf_deshake_opencl.c
vf_deshake.c
vf_despill.c
vf_detelecine.c
vf_displace.c
vf_dnn_processing.c dnn: move output name from DNNModel.set_input_output to DNNModule.execute_model 2020-08-25 09:02:59 +08:00
vf_drawbox.c
vf_drawtext.c
vf_edgedetect.c avfilter/vf_edgedetect: properly implement double_threshold() 2020-07-06 23:20:53 -04:00
vf_elbg.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_entropy.c
vf_eq.c
vf_eq.h
vf_extractplanes.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_fade.c
vf_fftdnoiz.c
vf_fftfilt.c
vf_field.c
vf_fieldhint.c
vf_fieldmatch.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_fieldorder.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_fillborders.c
vf_find_rect.c
vf_floodfill.c
vf_format.c
vf_fps.c
vf_framepack.c
vf_framerate.c
vf_framestep.c
vf_freezedetect.c
vf_freezeframes.c
vf_frei0r.c
vf_fspp.c
vf_fspp.h
vf_gblur.c
vf_geq.c
vf_gradfun.c
vf_hflip.c lavfi/hflip: Support Bayer pixel formats. 2020-08-25 01:29:24 +02:00
vf_histeq.c
vf_histogram.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_hqdn3d.c
vf_hqdn3d.h
vf_hqx.c
vf_hue.c
vf_hwdownload.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_hwmap.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_hwupload_cuda.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_hwupload.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_hysteresis.c
vf_idet.c
vf_idet.h
vf_il.c
vf_kerndeint.c
vf_lagfun.c
vf_lenscorrection.c
vf_lensfun.c
vf_libopencv.c
vf_libvmaf.c avfilter/libvmaf: mention csv as available log format 2020-08-21 10:48:27 +05:30
vf_limiter.c
vf_lumakey.c
vf_lut2.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_lut3d.c avfilter/vf_lut3d: support remaping negative values in the prelut 2020-09-07 19:04:09 +02:00
vf_lut.c
vf_maskedclamp.c
vf_maskedmerge.c
vf_maskedminmax.c
vf_maskedthreshold.c
vf_maskfun.c
vf_mcdeint.c
vf_median.c
vf_mergeplanes.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_mestimate.c
vf_midequalizer.c
vf_minterpolate.c
vf_misc_vaapi.c
vf_mix.c
vf_mpdecimate.c
vf_neighbor_opencl.c
vf_neighbor.c
vf_nlmeans_opencl.c
vf_nlmeans.c
vf_nlmeans.h
vf_nnedi.c avfilter/vf_nnedi: use av_fopen_utf8() 2020-09-07 19:13:19 +02:00
vf_noise.c
vf_noise.h
vf_normalize.c
vf_null.c
vf_ocr.c
vf_overlay_cuda.c
vf_overlay_cuda.cu
vf_overlay_opencl.c
vf_overlay_qsv.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_overlay_vulkan.c
vf_overlay.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_overlay.h
vf_owdenoise.c
vf_pad_opencl.c
vf_pad.c
vf_palettegen.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_paletteuse.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_perspective.c
vf_phase.c
vf_photosensitivity.c
vf_pixdesctest.c
vf_pp7.c
vf_pp7.h
vf_pp.c
vf_premultiply.c avfilter/vf_premultiply: Fix leak of names of inpads 2020-08-26 23:52:56 +02:00
vf_procamp_vaapi.c
vf_program_opencl.c
vf_pseudocolor.c
vf_psnr.c
vf_pullup.c
vf_pullup.h
vf_qp.c
vf_random.c
vf_readeia608.c
vf_readvitc.c
vf_remap.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_removegrain.c
vf_removelogo.c
vf_repeatfields.c
vf_rotate.c
vf_sab.c
vf_scale_cuda.c
vf_scale_cuda.cu
vf_scale_npp.c
vf_scale_qsv.c
vf_scale_vaapi.c
vf_scale_vulkan.c
vf_scale.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_scdet.c
vf_scroll.c
vf_selectivecolor.c
vf_separatefields.c
vf_setparams.c
vf_showinfo.c avfilter/vf_showinfo: add dump_s12m_timecode() helper function 2020-07-08 23:14:04 +08:00
vf_showpalette.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_shuffleframes.c
vf_shuffleplanes.c avfilter: Remove redundant ff_formats/channel_layouts_unref() 2020-08-24 01:01:02 +02:00
vf_signalstats.c
vf_signature.c avfilter/vf_signature: Avoid cast from function pointer to void* 2020-08-26 23:52:56 +02:00
vf_smartblur.c
vf_spp.c
vf_spp.h
vf_sr.c dnn: move output name from DNNModel.set_input_output to DNNModule.execute_model 2020-08-25 09:02:59 +08:00
vf_ssim.c
vf_stack.c
vf_stereo3d.c
vf_subtitles.c
vf_super2xsai.c
vf_swaprect.c
vf_swapuv.c
vf_telecine.c
vf_threshold.c
vf_thumbnail_cuda.c
vf_thumbnail_cuda.cu
vf_thumbnail.c
vf_tile.c
vf_tinterlace.c avfilter/vf_tinterlace: fix mergex2, first frame is always considered odd 2020-07-17 13:53:55 +02:00
vf_tonemap_opencl.c
vf_tonemap_vaapi.c
vf_tonemap.c
vf_tpad.c
vf_transpose_npp.c
vf_transpose_opencl.c
vf_transpose_vaapi.c
vf_transpose.c
vf_unsharp_opencl.c
vf_unsharp.c
vf_untile.c
vf_uspp.c
vf_v360.c
vf_vaguedenoiser.c
vf_vectorscope.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_vflip.c
vf_vfrdet.c
vf_vibrance.c
vf_vidstabdetect.c
vf_vidstabtransform.c
vf_vignette.c
vf_vmafmotion.c
vf_vpp_qsv.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_w3fdif.c
vf_waveform.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_weave.c avfilter: Remove redundant ff_formats/channel_layouts_unref() 2020-08-24 01:01:02 +02:00
vf_xbr.c
vf_xfade_opencl.c
vf_xfade.c avfilter/vf_xfade: fix excessive number of queued frames 2020-08-30 11:28:28 +02:00
vf_xmedian.c
vf_yadif_cuda.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
vf_yadif_cuda.cu
vf_yadif.c Revert "avfilter/yadif: simplify the code for better readability" 2020-08-27 07:30:30 +08:00
vf_yaepblur.c avfilter/vf_yaepblur: fix naming of filter class 2020-07-20 16:12:56 +02:00
vf_zoompan.c
vf_zscale.c lavfi: regroup formats lists in a single structure. 2020-09-08 14:02:40 +02:00
video.c
video.h
vidstabutils.c
vidstabutils.h
vmaf_motion.h
vsink_nullsink.c
vsrc_cellauto.c
vsrc_gradients.c avfilter/vsrc_gradients: switch to activate 2020-09-04 19:37:29 +02:00
vsrc_life.c
vsrc_mandelbrot.c
vsrc_mptestsrc.c
vsrc_sierpinski.c
vsrc_testsrc.c lavfi/vsrc_testsrc: switch to activate. 2020-09-08 14:39:43 +02:00
vulkan.c
vulkan.h
w3fdif.h
window_func.h
yadif_common.c Revert "avfilter/yadif: simplify the code for better readability" 2020-08-27 07:30:30 +08:00
yadif.h Revert "avfilter/yadif: simplify the code for better readability" 2020-08-27 07:30:30 +08:00