From 699115f85b1a7e74db1b0e34ad168fe305cc0d53 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Sat, 19 Sep 2026 05:40:36 +0000 Subject: [PATCH] ffmpeg: upgrade 9.0.1 -> 9.0.2 Source: Changelog version 9.0.2: Update for 9.0.2 avcodec/ppc/vp8dsp: store the 16 pixel wide rows at any alignment avfilter/vf_decimate: reject blocks smaller than one chroma sample avformat/genh: check for unsupported interlaved size 1 typ1 THP lavc/vvc: Prevent OOB write in sh_entry_points avcodec/vulkan_hevc: bound the per category reference counts in vk_hevc_start_frame avcodec/vulkan_hevc: bound the reference count in vk_hevc_start_frame avformat/pdvenc: add the AVClass pointer to PDVMuxContext avcodec/fflcms2: fix memory leak after cmsDeleteContext(NULL) avcodec/cbs_h266_syntax_template: fix ph_recovery_poc_cnt range avformat/http: free cookie parameters on parse failure avutil/opt: fix av_opt_is_set_to_default() on default-NAN options fftools: reject negative -t durations avcodec/hevc: don't error out on remaining slices of a skipped picture avcodec/vvc: Skip over the current picture in find_ref_idx avcodec/mips/vc1dsp_msa: Fix mspel functions avcodec/mips/hevcpred_msa: Fix compilation avcodec/vc1_block: don't drop the last macroblock when 1 bit remains avcodec/dovi_rpudec: strip zero padding avformat/dashdec: check fragment_timescale before division in refresh_manifest avutil/encryption_info: reject init info with zero-sized key IDs avformat/genh: check thp extradata read and allocation avformat/oggdec: check for integer overflow in buf_realloc vulkan_av1: fix out-of-bounds write of tile_sizes avcodec/cfhd: reject header tags after the frame buffer was allocated avcodec/cfhd: check the channel number after every tag avcodec/cfhd: reset the allocated band sizes when freeing the buffers avcodec/cook: require the channel mask to cover every subpacket channel avcodec/dvdsubenc: account for the byte alignment of each RLE line avfilter/vf_colorconstancy: free only allocated buffers on setup failure avcodec/hap: do not hide the failure of the chunk table allocation avformat/mov: Allocate the array without clearing before read avformat/mov: do not zero a key string before reading it avformat/mov: bound the keys atom entry count by the atom size avcodec/vvc/dec: compare the CTU area in ibc_tl_init() avcodec/vvc/dec: free the tabs when pic_arrays_init() fails avcodec/vvc/thread: clear fc->ft when the frame thread is freed avfilter/vf_uspp: Fix qpcount avcodec/codec_internal: clarify docs for FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM avfilter/f_metadata: avoid overread on long formatted output avformat/tls_mbedtls: set the expected hostname for numeric hosts libswscale/ppc/yuv2rgb_altivec: Fix heap buffer overflow in yuv2packedX swscale/ops_dispatch: account for the vertical filter taps in the tail copy swscale/ops_dispatch: pass the line strides to copy_lines() as ptrdiff_t swscale/uops: pad the horizontal filter weights to whole blocks avcodec/apac: reset bitstream_index unconditionally to avoid integer overflow avcodec/vorbisenc: dont assert on non finite input avcodec/rv34: do not copy an unused referen [Changelog truncated as it exceeds 3000 characters; the full changelog can be found in an attachment to the AUH email] --- ...ak-ensure-target-directories-are-cre.patch | 2 +- .../ffmpeg/ffmpeg/makerace.patch | 20 ++++++++++++------- .../{ffmpeg_9.0.1.bb => ffmpeg_9.0.2.bb} | 2 +- 3 files changed, 15 insertions(+), 9 deletions(-) rename meta/recipes-multimedia/ffmpeg/{ffmpeg_9.0.1.bb => ffmpeg_9.0.2.bb} (99%) diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/0002-ffbuild-common.mak-ensure-target-directories-are-cre.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/0002-ffbuild-common.mak-ensure-target-directories-are-cre.patch index 3f523ddb01..a9c54971e4 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg/0002-ffbuild-common.mak-ensure-target-directories-are-cre.patch +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/0002-ffbuild-common.mak-ensure-target-directories-are-cre.patch @@ -1,4 +1,4 @@ -From cb0f8bf74b53130ceedb97af317840f76ddfce31 Mon Sep 17 00:00:00 2001 +From 01b4d2e905e79a6858078927c111ce96bd03b314 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Thu, 11 Dec 2025 19:55:46 +0100 Subject: [PATCH] ffbuild/common.mak: ensure target directories are created diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/makerace.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/makerace.patch index c2f87b25fb..1788e8b98f 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg/makerace.patch +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/makerace.patch @@ -1,4 +1,7 @@ -An easy to reproduce make race: +From 6d288ad39ceec639779b58d5a585ead599fe2997 Mon Sep 17 00:00:00 2001 +From: Richard Purdie +Date: Fri, 11 Sep 2026 09:04:05 +0100 +Subject: [PATCH] An easy to reproduce make race: $ make libswscale/x86/uops_macros.gen.asm HOSTCC libswscale/x86/uops_macros.gen.asm @@ -8,18 +11,21 @@ It needs the missing directory creation dependency adding. Upstream-Status: Submitted [Sent to https://lists.ffmpeg.org/archives/list/ffmpeg-devel@ffmpeg.org/ 2026/9/11] Signed-off-by: Richard Purdie - -Index: ffmpeg-9.0.1/libswscale/x86/Makefile -=================================================================== ---- ffmpeg-9.0.1.orig/libswscale/x86/Makefile -+++ ffmpeg-9.0.1/libswscale/x86/Makefile +--- + libswscale/x86/Makefile | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/libswscale/x86/Makefile b/libswscale/x86/Makefile +index 0f7a3db..f56a5a4 100644 +--- a/libswscale/x86/Makefile ++++ b/libswscale/x86/Makefile @@ -1,3 +1,5 @@ +OUTDIRS += $(SUBDIR)x86 + OBJS += x86/rgb2rgb.o \ x86/swscale.o \ x86/yuv2rgb.o \ -@@ -31,6 +33,6 @@ $(SUBDIR)x86/ops_common.o: $(SUBDIR)x86/ +@@ -31,6 +33,6 @@ $(SUBDIR)x86/ops_common.o: $(SUBDIR)x86/uops_macros.gen.asm $(SUBDIR)x86/ops_int.o: $(SUBDIR)x86/uops_macros.gen.asm $(SUBDIR)x86/ops_float.o: $(SUBDIR)x86/uops_macros.gen.asm $(SUBDIR)x86/uops_macros.gen.asm: $(SRC_PATH)/libswscale/x86/uops_macros.asm.h \ diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_9.0.1.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_9.0.2.bb similarity index 99% rename from meta/recipes-multimedia/ffmpeg/ffmpeg_9.0.1.bb rename to meta/recipes-multimedia/ffmpeg/ffmpeg_9.0.2.bb index 07eff2a4e5..4942e873ce 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_9.0.1.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_9.0.2.bb @@ -27,7 +27,7 @@ SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ file://makerace.patch \ " -SRC_URI[sha256sum] = "cf38e0e28c7e5605942c4a77755349b0145804a397af37eb1fb4c77cb237f635" +SRC_URI[sha256sum] = "8c3850283eb25fa026482078a04051e0be17347b09ef81a0849bec15a96e002e" # Build fails when thumb is enabled: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717 ARM_INSTRUCTION_SET:armv4 = "arm" -- 2.47.1