summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/ffmpeg
Commit message (Collapse)AuthorAgeFilesLines
* ffmpeg: upgrade 7.1 -> 7.1.1Archana Polampalli2025-03-062-30/+2
| | | | | | | | | | | | | | Remove 0001-lavc-h264dsp-move-RISC-V-fn-pointers-to-.data.rel.ro.patch as it merged to 7.1.1 https://github.com/FFmpeg/FFmpeg/commit/4ea558152f05e41f15a548e2aab8e5d40546af5f Changelog: https://github.com/FFmpeg/FFmpeg/blob/n7.1.1/Changelog (From OE-Core rev: df6f3ac24d5ca7aedd45bbc424300916845b1f64) Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Drop ld-is-gold supportRichard Purdie2025-02-101-4/+0
| | | | | | | | | | | Gold hasn't seen development in some time and is being dropped from binutils releases. Drop the small number of special cases for it we were carrying. This patch also turns off gold in the binutils recipe. (From OE-Core rev: a4addb9ab63011e7c604fc5daff95559e7d214e7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Fix RISCV buildKhem Raj2024-12-092-0/+27
| | | | | | | | | | | | | | Issue found with LLD linker | riscv64-yoe-linux-ld.lld: error: relocation R_RISCV_64 cannot be used against symbol ' ↪ ff_h264_weight_pixels16_8_rvv'; recompile with -fPIC | >>> defined in libavcodec/riscv/h264dsp_rvv.o | >>> referenced by libavcodec/riscv/h264dsp_rvv.o:(ff_h264_weight_funcs_8_rvv) (From OE-Core rev: 09b6536fcc5dcd5e8e419c7a2e8c4f3da0cfa38f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: upgrade 7.0.2 -> 7.1Alexander Kanavin2024-11-273-106/+3
| | | | | | | (From OE-Core rev: 692ecec9c65ff324ceaa3fe3462b314394390df0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix packaging examplesMartin Jansa2024-10-291-1/+1
| | | | | | | | | | | | | | | | | | | * I've noticed that ffmpeg package isn't created in my builds, due to --disable-programs in EXTRA_OECONF added by our .bbappend, but was surprised that lib32-ffmpeg is created. * lib32-ffmpeg was created only because it contained the examples which are installed in /usr/share/ffmpeg even when PN is lib32-ffmpeg as we pass --datadir=${datadir}/ffmpeg in EXTRA_OECONF here * --disable-programs controls ${bindir}/ffprobe ${bindir}/ffmpeg and ${datadir}/ffmpeg/ffprobe.xsd ${datadir}/ffmpeg/libvpx-*.ffpreset (From OE-Core rev: d7bf828b6431a254201675e41047f53da47912f5) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Add "libswresample libavcodec" to CVE_PRODUCTaszh072024-10-221-0/+2
| | | | | | | | | | | | | | | | | Currently, CVE_PRODUCT only detects vulnerabilities where the product is "ffmpeg". However, there are also vulnerabilities where the product is "libswresample", and "libavcodec" as shown below. https://app.opencve.io/vendors/?vendor=ffmpeg Therefore, add "libswresample libavcodec" to CVE_PRODUCT to detect vulnerabilities where the product is "libswresample libavcodec" as well. (From OE-Core rev: 9684eba5c543de229108008e29afd1dd021a9799) Signed-off-by: aszh07 <mail2szahir@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Disable asm optimizations on x86Khem Raj2024-10-151-0/+2
| | | | | | | | | | | disable asm code if PIC is required, as the provided asm decidedly is not PIC for x86. (From OE-Core rev: 941fc40ca971f87e61c19e5a0703caa304ec7547) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: no need for textrel INSANE_SKIPRoss Burton2024-10-111-10/+0
| | | | | | | | | | It appears in testing that modern ffmpeg no longer needs to disable PIC, so there's no need to ignore textrel warnings. (From OE-Core rev: 98d577fef75d54a59eeacaabb4a45e44b2f6832e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: nasm is x86 only, so only DEPEND if x86Ross Burton2024-10-111-1/+2
| | | | | | | | | No need to depend on nasm if we're not going to use it. (From OE-Core rev: b99ea7f130c3f945af9a09a6ecf85b6ff8f4b710) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Fix build on musl linux systemsKhem Raj2024-09-042-0/+49
| | | | | | | | | | Improved detection of ioctl API makes it easier to use the right implementation rather than bunch of ifdef condition checks. (From OE-Core rev: a81fa08cada35a1b1163a56b80fa72110dcf1e7f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Package example files in ffmpeg-examplesOla x Nilsson2024-09-011-1/+3
| | | | | | | | | | | The most future proof way to not always ship the example files is to package them separately. (From OE-Core rev: ee405b4d75ed7361e8fd6220532c4a79b0b6bba6) Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: update 6.1.1 -> 7.0.2Alexander Kanavin2024-08-285-1580/+2
| | | | | | | (From OE-Core rev: d913e9cf997a2b2455bc336565fc69e76eac9b70) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix build with binutils 2.43 on arm with commerical codecsRoss Burton2024-08-092-0/+53
| | | | | | | | | | | | binutils 2.43 is stricter with label names, so rename a label to stop assembler errors. [ YOCTO #15570 ] (From OE-Core rev: 06d29af58521b94518c924468db34d0eed1cb056) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: backport patch to fix errors with GCC 14Dmitry Baryshkov2024-06-182-0/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | On ARMv7 compilation of ffmpeg breaks if Vulkan support is enabled. Backport a patch from the trunk to fix compilation issues: | src/libavcodec/vulkan_av1.c: In function 'vk_av1_create_params': | src/libavcodec/vulkan_av1.c:214:43: error: initialization of 'long long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] | 214 | .videoSessionParametersTemplate = NULL, | | ^~~~ | src/libavcodec/vulkan_av1.c:214:43: note: (near initialization for '(anonymous).videoSessionParametersTemplate') | make: *** [/oe/build/tmp-rpb_wayland-glibc/work/armv7at2hf-neon-linaro-linux-gnueabi/ffmpeg/6.1.1/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_av1.o] Error 1 | make: *** Waiting for unfinished jobs.... | src/libavcodec/vulkan_decode.c: In function 'ff_vk_decode_prepare_frame': | src/libavcodec/vulkan_decode.c:191:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] | 191 | vkpic->img_view_ref = NULL; | | ^ | src/libavcodec/vulkan_decode.c:192:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] | 192 | vkpic->img_view_out = NULL; | | ^ | src/libavcodec/vulkan_decode.c:193:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] | 193 | vkpic->img_view_dest = NULL; | | ^ | make: *** [/oe/build/tmp-rpb_wayland-glibc/work/armv7at2hf-neon-linaro-linux-gnueabi/ffmpeg/6.1.1/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_decode.o] Error 1 (From OE-Core rev: 52001cabd021b7c856acf426b668b99a72561de0) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: backport patches to use new Vulkan AV1 codec APIDmitry Baryshkov2024-04-303-1/+1478
| | | | | | | | | | | Backport two patches from ffmpeg git to fix compilation with the newest Vulkan API. (From OE-Core rev: a9393391613cd81643744daf930eaabf2ced79b7) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: upgrade 6.1 -> 6.1.1Wang Mingyu2024-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - avcodec/mpegvideo_enc: Dont copy beyond the image - avfilter/vf_minterpolate: Check pts before division - avfilter/avf_showwaves: Check history_nb_samples - avformat/flacdec: Avoid double AVERRORS - avfilter/vf_vidstabdetect: Avoid double AVERRORS - avcodec/vaapi_encode: Avoid double AVERRORS - avfilter/vf_swaprect: round coordinates down - avfilter/vf_swaprect: Use height for vertical variables - avfilter/vf_swaprect: assert that rectangles are within memory - avfilter/af_alimiter: Check nextpos before use - avfilter/f_reverse: Apply PTS compensation only when pts is available - avfilter/af_stereowiden: Check length - avformat/mov: Fix MSAN issue with stsd_id - avcodec/jpegxl_parser: Check get_vlc2() - avfilter/vf_weave: Fix odd height handling - avfilter/edge_template: Fix small inputs with gaussian_blur() - avfilter/vf_gradfun: Do not overread last line - avfilter/avf_showspectrum: fix off by 1 error - avcodec/jpegxl_parser: Add padding to cs_buffer - avformat/mov: do not set sign bit for chunk_offsets - avcodec/jpeglsdec: Check Jpeg-LS LSE - avcodec/osq: Implement flush() - configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm - avcodec/cbs_h266: more restrictive check on pps_tile_idx_delta_val - avcodec/jpeg2000htdec: check if block decoding will exceed internal precision - tools/target_dec_fuzzer: Adjust threshold for VMIX - avcodec/av1dec: Fix resolving zero divisor - avformat/mov: Ignore duplicate ftyp - avformat/mov: Fix integer overflow in mov_read_packet(). - lavc/qsvdec: return 0 if more data is required - avcodec/jpegxl_parser: check ANS cluster alphabet size vs bundle size - libavformat/vvc: Make probe more conservative - hwcontext_vulkan: guard unistd.h include - lavc/Makefile: build vulkan decode code if vulkan_av1 has been enabled - lavc/dvdsubenc: only check canvas size when it is actually set - avcodec/decode: validate hw_frames_ctx when AVHWAccel.free_frame_priv is used - avcoded/fft: Fix memory leak if ctx2 is used - avcodec/fft: Use av_mallocz to avoid invalid free/uninit (From OE-Core rev: e9ca6bdd43069c0b25115ae70dc09f0dda93ab1f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Upgrade 6.0 -> 6.1Markus Volk2023-11-203-116/+2
| | | | | | | | | | -Remove patches that made it upstream (From OE-Core rev: faa32bbb35e92a14b8064715c12e1007fd106b34) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: drop PE, PR from /usr/src/debug pathsMartin Jansa2023-11-201-1/+1
| | | | | | | | (From OE-Core rev: 25f821023c057ed2632ed1f99a6e28dfe857a5d8) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: avoid neon on unsupported machinesBenjamin Bara2023-09-041-0/+2
| | | | | | | | | | Disable neon if the machine does not support it. (From OE-Core rev: 0c3a6a74531d3860a3849a1f53f6709d6a0e88a5) Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: add CVE_STATUS for CVE-2023-39018Narpat Mali2023-08-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | CVE-2023-39018 belongs to ffmpeg-cli-wrapper (Java wrapper around the FFmpeg CLI) and not ffmpeg itself. As per CVE description, it is mentioned as FFmpeg 0.7.0 which is the version for ffmpeg-cli-wrapper and ffmpeg don't have 0.7.0 version at all. Debian & Bugzilla trackers have already marked as NOT-FOR-US/RESOLVED-INVALID. As it won't be affecting the ffmpeg package so, we can ignore the CVE-2023-39018 in ffmpeg recipe. References: https://github.com/bramp/ffmpeg-cli-wrapper https://github.com/FFmpeg/FFmpeg https://security-tracker.debian.org/tracker/CVE-2023-39018 https://bugzilla.suse.com/show_bug.cgi?id=CVE-2023-39018 (From OE-Core rev: c21ed498b423c13463a4ae0bb475883cc7901847) Signed-off-by: Narpat Mali <narpat.mali@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Fix wrong code found with gas/2.41Khem Raj2023-08-012-0/+78
| | | | | | | | (From OE-Core rev: 692e414aed5313ff275b69e93179aa7c559700f3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Use bfd linker on i386 when lld is distro linker defaultKhem Raj2023-07-271-0/+1
| | | | | | | | (From OE-Core rev: fc155090b8cfb62f1114b3e5f86fc4dacfb3bc89) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Fix build on riscvKhem Raj2023-07-102-1/+37
| | | | | | | (From OE-Core rev: 5f2dfecab15142b659b09edd7673f4714626513b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: add v4l2 PACKAGECONFIGRoss Burton2023-05-091-0/+1
| | | | | | | | | | | | Can't be enabled by default as v4l-utils is in meta-oe. (From OE-Core rev: c7a200553b720b9a58c5e6702a89b9ea49f70f74) (From OE-Core rev: 1d290bd4373dea5fd035593249a1f31afe54b789) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "ffmpeg: move ffmpeg config into packageconfig"Ross Burton2023-05-091-9/+6
| | | | | | | | | | | | | | | | | There's very little reason to expose "build shared libraries", "build position-independent code", or "enable threads" as recipe-specific packageconfig options. Revert the commit which did this and explicitly set the relevant options in EXTRA_OECONF. This reverts commit b6e67e3d287407c6f022bbe672d9d206d90a12a4. (From OE-Core rev: ec62603a348154d837d5f0cbd52bb12468973341) (From OE-Core rev: 521a084190f72fc7a8783571829bd697e2baa1f0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Disable asm and rvv on riscv32Khem Raj2023-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | ffmpeg 6.0 has added assembly routines which uses rv64i ISA unconditionally, ideally it should check for ISA before using those instructions. Fixes errors like <instantiation>:1:1: error: instruction requires the following: RV64I Base Instruction Set ld t0, (a1) ^ src/libavcodec/riscv/pixblockdsp_rvi.S:24:1: note: while in macro instantiation .irp row, 0, 1, 2, 3, 4, 5, 6, 7 ^ <instantiation>:3:9: error: instruction requires the following: RV64I Base Instruction Set sd zero, ((0 * 16) + 0)(a0) ^ (From OE-Core rev: 010b068bcc126dbbc1e2032997e8d83360a7de35) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: update 5.1.2 -> 6.0Alexander Kanavin2023-04-134-237/+2
| | | | | | | | | | Add a patch to gstreamer1.0-libav to address an API compatibility fail. (From OE-Core rev: 2ebea6658458ca926af58b4904cecdbec7416e04) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix build failure when vulkan is enabledDmitry Baryshkov2023-02-262-0/+35
| | | | | | | | | | | | | | | | | | | The patch fixes the following errors observed when building ffmpeg in vulkan-enabled distros: | src/libavutil/hwcontext_vulkan.c:363:7: error: 'VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME' undeclared here (not in a function); did you mean 'VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME'? | 363 | { VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME, FF_VK_EXT_NO_FLAG }, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME | src/libavutil/hwcontext_vulkan.c:364:7: error: 'VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME' undeclared here (not in a function); did you mean 'VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAME'? | 364 | { VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME, FF_VK_EXT_NO_FLAG }, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAME (From OE-Core rev: b16c8696be9d56edb5ff77210abfff9a784fad89) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix configure failure on noexec /tmp hostChen Qi2023-02-091-0/+2
| | | | | | | | | | | | | | | The configure scripts uses /tmp to execute some generated files. If /tmp is noexec, then we meet the following error. | Unable to create and execute files in /tmp. Set the TMPDIR environment | variable to another directory and make sure that it is not mounted noexec. | Sanity test failed. (From OE-Core rev: 6099b88c4decb285fd3519d5565909c15d935030) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: use nasm patched-in debug-prefix-map option to restore reproducibilityAlexander Kanavin2023-01-061-0/+1
| | | | | | | | | | Latest nasm requires this as it otherwise writes full paths into its output. (From OE-Core rev: e94e714b890734bcc74977c7c9de40eda8463b60) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix for CVE-2022-3965Narpat Mali2022-11-272-1/+111
| | | | | | | | | | | | | | | | | | | | A vulnerability classified as problematic was found in ffmpeg. This vulnerability affects the function smc_encode_stream of the file libavcodec/smcenc.c of the component QuickTime Graphics Video Encoder. The manipulation of the argument y_size leads to out-of-bounds read. The attack can be initiated remotely. The name of the patch is 13c13109759090b7f7182480d075e13b36ed8edd. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-213544. Reference: https://nvd.nist.gov/vuln/detail/CVE-2022-3965 Upstream Fix: https://github.com/FFmpeg/FFmpeg/commit/13c13109759090b7f7182480d075e13b36ed8edd (From OE-Core rev: b88c96fe8964614978aa25a65dd34fc3c05c664c) Signed-off-by: Narpat Mali <narpat.mali@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix for CVE-2022-3964Narpat Mali2022-11-272-1/+92
| | | | | | | | | | | | | | | | | | | | A vulnerability classified as problematic has been found in ffmpeg. This affects an unknown part of the file libavcodec/rpzaenc.c of the component QuickTime RPZA Video Encoder. The manipulation of the argument y_size leads to out-of-bounds read. It is possible to initiate the attack remotely. The name of the patch is 92f9b28ed84a77138105475beba16c146bdaf984. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-213543. Reference: https://nvd.nist.gov/vuln/detail/CVE-2022-3964 Upstream Fix: https://github.com/FFmpeg/FFmpeg/commit/92f9b28ed84a77138105475beba16c146bdaf984 (From OE-Core rev: 4595f85e7ce867d68ca9d6a6e3ad2544565be3cc) Signed-off-by: Narpat Mali <narpat.mali@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: upgrade 5.1.1 -> 5.1.2Alexander Kanavin2022-11-081-1/+1
| | | | | | | | (From OE-Core rev: 32da2113e553a3f81f4dcc5834e3fe30f48e4709) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: upgrade 5.1 -> 5.1.1Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: 2bd779e7cb790423be6a170423d83d850b2e6d1b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: update 5.0.1 -> 5.1Alexander Kanavin2022-08-102-116/+2
| | | | | | | | (From OE-Core rev: 861bb6a01a7ced150333a57890844a123ed8bd6e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: upgrade 5.0 -> 5.0.1Alexander Kanavin2022-05-051-1/+1
| | | | | | | | (From OE-Core rev: 90f35ceb209a51dfe0cd29e1d8646fcc501b7269) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-10/+10
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Remove --disable-msa2 mips optionKhem Raj2022-01-261-1/+1
| | | | | | | | | This is now deleted option in 5.0+ (From OE-Core rev: e6140f11429e66e7ceadc932f2d6946c1270a19f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: upgrade 4.4.1 -> 5.0Alexander Kanavin2022-01-202-10/+20
| | | | | | | | | libavresample has been removed; libswresample is the replacement. (From OE-Core rev: 5555bca01750024a786a1f78d573d02f12b45686) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Fix build on ppc32Khem Raj2021-12-081-0/+1
| | | | | | | | | | Fixes | powerpc-yoe-linux/11.2.0/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_sub_8' (From OE-Core rev: d140306257a38615b84bc7f7595a4b2b5e97b808) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: submit patch upstreamAlexander Kanavin2021-12-061-1/+1
| | | | | | | (From OE-Core rev: 8d5f979ec84297f09490e3acee97c96094251fb3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: update 4.4 -> 4.4.1Alexander Kanavin2021-11-039-411/+2
| | | | | | | (From OE-Core rev: f3afff95455153a89df1d0b15b6173b910863be8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix CVE-2021-38114Kiran Surendran2021-10-232-1/+69
| | | | | | | | | | backport from upstream (From OE-Core rev: fe9cdf74f7ef3637ed7c600182f8a0ba40510d2a) Signed-off-by: Kiran Surendran <kiran.surendran@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix CVE-2021-38171Kiran Surendran2021-09-262-1/+44
| | | | | | | | | backport from upstream (From OE-Core rev: 3cb40cabc79e4c9b4ffaf99543368b0c57d18df1) Signed-off-by: Kiran Surendran <kiran.surendran@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix LICENSERoss Burton2021-09-171-1/+1
| | | | | | | | | Expat isn't a license name we have, use MIT instead. (From OE-Core rev: b1821691c2d7eafb29cf182fc1f2ec7b0cc8340f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: update LICENSERoss Burton2021-09-041-1/+1
| | | | | | | | | | "BSD" is ambiguous, ffmpeg comprises of several licenses which are BSD-like. (From OE-Core rev: 50ba15c0a6867fcb0498a2c2c5449aa96e5f4bde) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: add libatomic for armv5Trevor Woerner2021-08-021-0/+1
| | | | | | | | | | | | | | | | | | | The GNU Atomic library is a GCC support runtime library for atomic operations not supported by hardware. Otherwise we get the following when building: | arm-oe-linux-gnueabi-gcc -mcpu=arm926ej-s -mfpu=vfp -mfloat-abi=hard -marm --sysroot=.../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=.../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot -mcpu=arm926ej-s -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample -o ffprobe_g fftools/cmdutils.o fftools/ffprobe.o -lavdevice -lavfilter -lavformat -lavcodec -lavresample -lswresample -lswscale -lavutil -lm -lxcb -lxcb-shm -lxcb-shape -lxcb-xfixes -lasound -lXv -lX11 -lXext -pthread -lm -lm -lbz2 -lz -pthread -lm -llzma -lz -ltheoraenc -ltheoradec -logg -lm -lm -lm -pthread -lm -lXv -lX11 -lXext | .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_sub_8' | .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_store_8' | .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_load_8' | .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_add_8' | collect2: error: ld returned 1 exit status (From OE-Core rev: 677568b2cacf4db9468a08127ee2d19e6544f438) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-36/+36
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix CVE-2021-33815Tony Tascioglu2021-07-282-0/+45
| | | | | | | | | | | | | | | | | | | avcodec/exr: More strictly check dc_count Fixes: out of array access Fixes: exr/deneme Found-by: Burak Çarıkçı <burakcarikci@crypttech.com> (From OE-Core rev: e03fda4df5d2865d5ac516f45aa120e2caf7de47) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> CVE: CVE-2021-33815 Upstream-Status: Backport [26d3c81bc5ef2f8c3f09d45eaeacfb4b1139a777] Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix CVE-2020-22033 and CVE-2020-22019Tony Tascioglu2021-07-282-0/+41
| | | | | | | | | | | | | | | | | | | | | | avfilter/vf_vmafmotion: Check dimensions Fixes: out of array access Fixes: Ticket8241 Fixes: Ticket8246 Fixes: CVE-2020-22019 Fixes: CVE-2020-22033 (From OE-Core rev: 451a945efb21221cfeeb4e641c5aa8bf4ae18c89) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> CVE: CVE-2020-22033 CVE: CVE-2020-22019 Upstream-Status: Backport [82ad1b76751bcfad5005440db48c46a4de5d6f02] Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>