Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-09avfilter/vf_showinfo: remove backspacesMichael Niedermayer
They mess with storing editing and comparing the results Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 31581ae7ee6d007f2f2dcd16de5df991ba7aa1b6) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-10-09avfilter/vf_signature: Fix integer overflow in filter_frame()Michael Niedermayer
Fixes: CID1403233 The second of the 2 changes may be unneeded but will help coverity Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit dd6040675ec18d19429f882caea6bb306ed6677a) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-10-09avfilter/vsrc_mandelbrot: Check for malloc failureMichael Niedermayer
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit fbd22504c4148d2a01ccfe38df26c144f56db76b) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-10-09avfilter/vf_frei0r: Copy to frame allocated according to frei0r requirementsMichael Niedermayer
Fixes: issues with non trivial linesize Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit d353909e773ba8a8201fa13d6c35251351dd567a) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-10-09avfilter/video: Add ff_default_get_video_buffer2() to set specific alignmentMichael Niedermayer
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit d74078270198b97fdda258840f0d501a3ffcc693) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-05-04avfilter/vf_colorspace: fix memmory leaksPaul B Mahol
Fixes #8303 (cherry picked from commit fddef964e8aa4a2c123e470db1436a082ff6bcf3) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-05-04avfilter/vf_random: fix memory leaksPaul B Mahol
Fixes #8296 (cherry picked from commit 3488e0977c671568731afa12b811adce9d4d807f) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-05-04avfilter/vf_bwdif: fix heap-buffer overflowPaul B Mahol
Fixes #8261 (cherry picked from commit 8c3166e1c302c3ba80d9742ae46161c0fa8e2606) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-05-04avfilter/vf_edgedetect: fix heap-buffer overflowPaul B Mahol
Fixes #8275 (cherry picked from commit de598f82f8c3f8000e1948548e8088148e2b1f44) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-05-04avfilter/vf_w3fdif: deny processing small videosPaul B Mahol
Fixes #8243 (cherry picked from commit 0e68e8c93f9068596484ec8ba725586860e06fc8) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-05-04avfilter/vf_avgblur: fix heap-buffer overflowPaul B Mahol
Fixes #8274 (cherry picked from commit f069a9c2a65bc20c3462127623127df6dfd06c5b) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-05-04avfilter/af_tremolo: fix heap-buffer overflowPaul B Mahol
Fixes #8317 (cherry picked from commit 58bb9d3a3a6ede1c6cfb82bf671a5f138e6b2144) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-05-04avfilter/vf_edgedetect: check if height is big enoughPaul B Mahol
Fixes #8260 (cherry picked from commit ccf4ab8c9aca0aee66bcc2914031a9c97ac0eeb8) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-05-04avfilter/vf_bitplanenoise: fix overreadsPaul B Mahol
Fixes #8244 (cherry picked from commit 0b567238741854b41f84f7457686b044eadfe29c) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-05-04avfilter/vf_fieldorder: fix heap-buffer overflowPaul B Mahol
Fixes #8264 (cherry picked from commit 07050d7bdc32d82e53ee5bb727f5882323d00dba) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-05-04avfilter/vf_fieldmatch: fix heap-buffer overflowPaul B Mahol
Also fix use of uninitialized values. Fixes #8239 (cherry picked from commit ce5274c1385d55892a692998923802023526b765) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-04-08avfilter/vf_lenscorrection: make width/height intPaul B Mahol
Somehow previous correct fix broke usage. (cherry picked from commit 79522411fa53b68743302d16d28156db95466a21) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-04-07avfilter/vf_subtitles: pass storage size to libassOneric
Due to a quirk of the ASS format some tags depend on the exact storage resolution of the video, so tell libass via ass_set_storage_size.
2022-04-07avfilter/vf_gblur: fix heap-buffer overflowPaul B Mahol
Fixes #8282 (cherry picked from commit 64a805883d7223c868a683f0030837d859edd2ab) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-04-07avfilter/vf_lenscorrection: fix division by zeroPaul B Mahol
Fixes #8265 (cherry picked from commit 19587c9332f5be4f6bc6d7b2b8ef3fd21dfeaa01) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-04-07avfilter/vf_neighbor: check if width is 1Paul B Mahol
Fixes #8242 (cherry picked from commit e787f8fd7ee99ba0c3e0f086ce2ce59eea7ed86c)
2021-10-07avfilter/scale_npp: fix non-aligned output frame dimensionsTimo Rothenpieler
2021-10-06avfilter/af_drmeter: Check that there is dataMichael Niedermayer
Fixes: floating point division by 0 Fixes: -nan is outside the range of representable values of type 'int' Fixes: Ticket8307 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 4f49fa6abe89e2fca2585cac4c63190315972cf0) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-06avfilter/vf_mestimate: Check b_countMichael Niedermayer
Fixes: left shift of negative value -1 Fixes: Ticket8270 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 06af6e101bbd04e8ecc5337bc3b6894a5e058e14) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-06avfilter/vf_dctdnoiz: Check threadsMichael Niedermayer
Fixes: floating point division by 0 Fixes: Ticket 8269 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 4a3917c02c428b11128ac3d4a01b780ea44aa53c) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-06avfilter/vf_ciescope: Fix undefined behavior in rgb_to_xy() with blackMichael Niedermayer
Fixes: floating point division by 0 Fixes: undefined behavior in handling NaN Fixes: Ticket 8268 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 3d500e62f6206ad11308b18976246366aed8c1a5) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-06avfilter/vf_yadif: Fix handing of tiny imagesMichael Niedermayer
Fixes: out of array access Fixes: Ticket8240 Fixes: CVE-2020-22021 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 7971f62120a55c141ec437aa3f0bacc1c1a3526b) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-06avfilter/vf_vmafmotion: Check dimensionsMichael Niedermayer
Fixes: out of array access Fixes: Ticket8241 Fixes: Ticket8246 Fixes: CVE-2020-22019 Fixes: CVE-2020-22033 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 82ad1b76751bcfad5005440db48c46a4de5d6f02) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-09-10avfilter/vf_scale: Fix adding 0 to NULL (which is UB) in scale_slice()Michael Niedermayer
Found-by: Jeremy Leconte <jleconte@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 1cf96ce269364e3c2b4ec2097f121ad42b336839) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-05-20avfilter/vf_dedot: Fix leak of AVFrame if making it writable failsAndreas Rheinhardt
Even in this scenario, the frame still contains references to data that won't be freed if the frame isn't unreferenced. And the AVFrame itself will leak, too. Fixes Coverity issue #1441422. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 212077eda46c4c3eb644774d2b1ccbeb3e322fff)
2020-05-20avfilter/vf_paletteuse: Fix potential double-free of AVFrameAndreas Rheinhardt
apply_palette() would free an AVFrame given to it only via an AVFrame * (and not via AVFrame **) in three of its four exists (namely in the normal path and in two error paths). So upon error the caller has no way to know whether the frame has already been freed or not; load_apply_palette(), the only caller, opted to free the frame in this scenario. This commit changes this by making apply_palette not freeing the frame at all, which is left to load_apply_palette(). Fixes Coverity issue #1452434. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit adea33f46513821c111c602a0692b78315688c1b)
2020-05-20avfilter/vf_xbr: Fix left shift of negative numberAndreas Rheinhardt
Affected every usage of vf_xbr, e.g. the FATE-tests filter-2xbr, filter-3xbr, filter-4xbr. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 4294dc3589a3ab973b10a85b576ff15e3ffb000d)
2020-05-20avfilter/vf_hqx: Fix undefined left shifts of negative numbersAndreas Rheinhardt
Affected every usage of this filter; in particular, it affected the FATE-tests filter-2xbr, filter-3xbr and filter-4xbr. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit fa211943265ca991548a4cc2f85a6df9cedcd092)
2020-05-20avfilter/vf_unsharp: Don't dereference NULLAndreas Rheinhardt
The unsharp filter uses an array of arrays of uint32_t, each of which is separately allocated. These arrays also need to freed separately; but before doing so, one needs to check whether the array of arrays has actually been allocated, otherwise one would dereference a NULL pointer. This fixes #8408. Furthermore, the array of arrays needs to be zero-initialized so that no uninitialized pointer will be freed in case an allocation of one of the individual arrays fails. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 710ab136931ff228b355d87512b0d4ca4e94656a)
2020-05-19avfilter/vf_aspect: Fix integer overflow in compute_dar()Michael Niedermayer
Fixes: signed integer overflow: 1562273630 * 17 cannot be represented in type 'int' Fixes: Ticket8323 Found-by: Suhwan Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 0c0ca0f244b823238e5a4f5584168e620da84899) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-05-19avfilter/vf_find_rect: Remove assertMichael Niedermayer
A score of 0 is possible Fixes: Ticket8500 Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit dfc471488675aa257183745502d0074055db3bd2) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-05-19avfilter/vf_find_rect: Increase worst case scoreMichael Niedermayer
score could be 1.0 which lead to uninitialized values Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 6ff2474e02200dce7abdea3fd211fcaf49691c2c) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-31avfilter/vf_geq: Use av_clipd() instead of av_clipf()Michael Niedermayer
With floats we cannot represent all 32bit integer dimensions Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit c8813b1a984714f0027cabeea2394035df20cf38) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-07-30lavfi/vf_thumbnail_cuda: fix operator precedence bugRodger Combs
Discovered via a warning when building with clang Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2019-07-21Bump minor versions to separate 4.2 from masterMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-07-21lavfi/showinfo: support regions of interest sidedataJun Zhao
support regions of interest sidedata Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2019-07-14avfilter/vf_hysteresis: use time_base from framesyncPaul B Mahol
Fixes non-monotonous timestamps.
2019-07-14avfilter/vf_remap: add option to control output formatPaul B Mahol
2019-07-14avfilter/vf_remap: use time_base from framesyncPaul B Mahol
Fixes non-monotonous timestamps.
2019-07-14avfilter/vf_displace: use time_base from framesyncPaul B Mahol
Fixes non-monotonous timestamps.
2019-07-14avfilter/vf_midequalizer: always use framesync timestampsPaul B Mahol
2019-07-14avfilter/vf_maskedmerge: always use framesync timestampsPaul B Mahol
2019-07-14avfilter/vf_threshold: use time_base from framesyncPaul B Mahol
Fixes non-monotonous timestamps.
2019-07-14avfilter/vf_blend: add 9bit supportPaul B Mahol
2019-07-13avfilter/af_aiir: calculate group delay tooPaul B Mahol