From da0473163cc9f9cf51fd6fa7408e3c4285cf66400f7f5a4d0a3af66b6e36b07f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Fri, 19 Sep 2025 21:19:35 +0200 Subject: [PATCH 1/7] Wip - testing --- ffmpeg-7.1.1.tar.xz | 3 --- ffmpeg-7.1.1.tar.xz.asc | 11 ----------- ffmpeg-7.1.2.tar.xz | 3 +++ ffmpeg-7.1.2.tar.xz.asc | 11 +++++++++++ ffmpeg-7.spec | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 ffmpeg-7.1.1.tar.xz delete mode 100644 ffmpeg-7.1.1.tar.xz.asc create mode 100644 ffmpeg-7.1.2.tar.xz create mode 100644 ffmpeg-7.1.2.tar.xz.asc diff --git a/ffmpeg-7.1.1.tar.xz b/ffmpeg-7.1.1.tar.xz deleted file mode 100644 index 66dca79..0000000 --- a/ffmpeg-7.1.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:733984395e0dbbe5c046abda2dc49a5544e7e0e1e2366bba849222ae9e3a03b1 -size 11019500 diff --git a/ffmpeg-7.1.1.tar.xz.asc b/ffmpeg-7.1.1.tar.xz.asc deleted file mode 100644 index 6f1213c..0000000 --- a/ffmpeg-7.1.1.tar.xz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQFMBAABCgA2FiEE/PmG6hXm4pOlZE8QtDIvBNZ2WNgFAmfE+J4YHGZmbXBlZy1k -ZXZlbEBmZm1wZWcub3JnAAoJELQyLwTWdljYNAwH/3i5n8X6+6Gw+1U+k6Lfwe4t -d1AmG/XyJd3ZkqnSXmtpW/p/DoHaRQLTJMHq/5jWi0Dcpr8M8VD0pZxzEksfy0XY -xHEqKXRG37/SyoiH39+BXWOSry4shIhzTVfmQi9QGZ0i69J+ZOpP1cImWz2c6QBM -Q2FMPv1QMVNR2UWHDGgYAvvg2qfJfGgIdQQtvAQe1q3co6LuaZC0ndgoNmNyuPLV -nNmsoetZucoNC4M7kcevyssrRMDi+yHk5X86LfV/cBY+BKP9X8u8pieXrnctSYAh -qqBnsg4jSj3fB96QvsFsdbUWEECKm4/gWJngMQTMk2Tg0RpQAwfHvp21Lppo/xw= -=xzGf ------END PGP SIGNATURE----- diff --git a/ffmpeg-7.1.2.tar.xz b/ffmpeg-7.1.2.tar.xz new file mode 100644 index 0000000..3d7f104 --- /dev/null +++ b/ffmpeg-7.1.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:089bc60fb59d6aecc5d994ff530fd0dcb3ee39aa55867849a2bbc4e555f9c304 +size 11030368 diff --git a/ffmpeg-7.1.2.tar.xz.asc b/ffmpeg-7.1.2.tar.xz.asc new file mode 100644 index 0000000..9ca6f2b --- /dev/null +++ b/ffmpeg-7.1.2.tar.xz.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQFMBAABCgA2FiEE/PmG6hXm4pOlZE8QtDIvBNZ2WNgFAmjHGF0YHGZmbXBlZy1k +ZXZlbEBmZm1wZWcub3JnAAoJELQyLwTWdljYY+0IAI4Haqz3h9AMEPwppJTY/R+A +3FKY3HqPZXfCiF5V7q6R76ejk4ZheiEmNWw/FGq9mrvhEBDBmfYWHastaizo2ER6 +8ckOv+u/cA7YUYYdxvw7RQZqSGTrnpO9g3A/z84bjmCKW4DvSsM0Epg50E8oJsQo +xojOwk5EVmEOnyNbroUHAOKXDux2C8QpxFkKP6HLHme1SlTQTfVZn2G38tN4KmaN +T/p7HaR/nnLMnWC6IYWd0ss70AbRBNaIOdjPu7scA67HSS8Vb6WLOmcMjA9umrbI +MftDxyx771uKc/pLMfEFFc6Pq1Ajy/qhrVesjTzXVyp9IUwP6wbjCDW7aKvkGKQ= +=ew1G +-----END PGP SIGNATURE----- diff --git a/ffmpeg-7.spec b/ffmpeg-7.spec index 8751539..e58dba3 100644 --- a/ffmpeg-7.spec +++ b/ffmpeg-7.spec @@ -97,7 +97,7 @@ %define _major_expected 8 Name: ffmpeg-7 -Version: 7.1.1 +Version: 7.1.2 Release: 0 Summary: Set of libraries for working with various multimedia formats License: GPL-3.0-or-later -- 2.51.1 From ec3f79fdfa2960136e2a7e218ab25de36b508311bc8c35442f17d2cbd1ef427e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Fri, 19 Sep 2025 21:25:38 +0200 Subject: [PATCH 2/7] wtf - how do I delete a patch --- ffmpeg-7.changes | 6 ++++++ ffmpeg-7.spec | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ffmpeg-7.changes b/ffmpeg-7.changes index e71579b..c7d74d5 100644 --- a/ffmpeg-7.changes +++ b/ffmpeg-7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 19 18:44:35 UTC 2025 - Bjørn Lie + +- Update to version 7.1.2: + + wip + ------------------------------------------------------------------- Wed Jul 23 13:28:49 UTC 2025 - Hans-Peter Jansen diff --git a/ffmpeg-7.spec b/ffmpeg-7.spec index e58dba3..11a3f9f 100644 --- a/ffmpeg-7.spec +++ b/ffmpeg-7.spec @@ -122,7 +122,6 @@ Patch10: ffmpeg-chromium.patch Patch15: 11013-avcodec-decode-clean-up-if-get_hw_frames_parameters-.patch Patch18: ffmpeg-7-CVE-2025-25473.patch Patch19: ffmpeg-7-CVE-2025-22921.patch -Patch20: 0001-avcodec-libsvtav1-unbreak-build-with-latest-svtav1.patch Patch21: ffmpeg-CVE-2025-7700.patch BuildRequires: ladspa-devel BuildRequires: libgsm-devel -- 2.51.1 From 7b083806f9f4fca86c557aec9647b9ebf315a5bab7d65a287c46346a45b5fbe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Fri, 19 Sep 2025 21:29:06 +0200 Subject: [PATCH 3/7] nuke patch --- ...av1-unbreak-build-with-latest-svtav1.patch | 33 ------------------- 1 file changed, 33 deletions(-) delete mode 100644 0001-avcodec-libsvtav1-unbreak-build-with-latest-svtav1.patch diff --git a/0001-avcodec-libsvtav1-unbreak-build-with-latest-svtav1.patch b/0001-avcodec-libsvtav1-unbreak-build-with-latest-svtav1.patch deleted file mode 100644 index 413b2b3..0000000 --- a/0001-avcodec-libsvtav1-unbreak-build-with-latest-svtav1.patch +++ /dev/null @@ -1,33 +0,0 @@ -From d1ed5c06e3edc5f2b5f3664c80121fa55b0baa95 Mon Sep 17 00:00:00 2001 -From: Gyan Doshi -Date: Sat, 22 Feb 2025 10:38:53 +0530 -Subject: [PATCH] avcodec/libsvtav1: unbreak build with latest svtav1 - -SVT-AV1 made a change in their public API in 988e930c but without a -version bump or any other accessible marker, thus breaking ffmpeg build -with current versions of SVT-AV1. - -They have finally bumped versions a month later, so check added. ---- - libavcodec/libsvtav1.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c -index 79b28eb4df..43fe531fde 100644 ---- a/libavcodec/libsvtav1.c -+++ b/libavcodec/libsvtav1.c -@@ -435,7 +435,11 @@ static av_cold int eb_enc_init(AVCodecContext *avctx) - - svt_enc->eos_flag = EOS_NOT_REACHED; - -+#if SVT_AV1_CHECK_VERSION(3, 0, 0) -+ svt_ret = svt_av1_enc_init_handle(&svt_enc->svt_handle, &svt_enc->enc_params); -+#else - svt_ret = svt_av1_enc_init_handle(&svt_enc->svt_handle, svt_enc, &svt_enc->enc_params); -+#endif - if (svt_ret != EB_ErrorNone) { - return svt_print_error(avctx, svt_ret, "Error initializing encoder handle"); - } --- -2.48.1 - -- 2.51.1 From a021eff85719290ab679db5f741429249b892eaed5012b9d0767bc4d2e630e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Fri, 19 Sep 2025 21:46:36 +0200 Subject: [PATCH 4/7] Nuke yet a patch --- ffmpeg-CVE-2025-7700.patch | 45 -------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 ffmpeg-CVE-2025-7700.patch diff --git a/ffmpeg-CVE-2025-7700.patch b/ffmpeg-CVE-2025-7700.patch deleted file mode 100644 index 1a1911f..0000000 --- a/ffmpeg-CVE-2025-7700.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 35a6de137a39f274d5e01ed0e0e6c4f04d0aaf07 Mon Sep 17 00:00:00 2001 -From: Jiasheng Jiang -Date: Thu, 10 Jul 2025 16:26:39 +0000 -Subject: [PATCH] libavcodec/alsdec.c: Add check for av_malloc_array() and - av_calloc() - -Add check for the return value of av_malloc_array() and av_calloc() -to avoid potential NULL pointer dereference. - -Fixes: dcfd24b10c ("avcodec/alsdec: Implement floating point sample data decoding") -Signed-off-by: Jiasheng Jiang -Signed-off-by: Michael Niedermayer ---- - libavcodec/alsdec.c | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c -index 734eec8bf8..97b04a95f9 100644 ---- a/libavcodec/alsdec.c -+++ b/libavcodec/alsdec.c -@@ -2119,8 +2119,8 @@ static av_cold int decode_init(AVCodecContext *avctx) - ctx->nbits = av_malloc_array(ctx->cur_frame_length, sizeof(*ctx->nbits)); - ctx->mlz = av_mallocz(sizeof(*ctx->mlz)); - -- if (!ctx->mlz || !ctx->acf || !ctx->shift_value || !ctx->last_shift_value -- || !ctx->last_acf_mantissa || !ctx->raw_mantissa) { -+ if (!ctx->larray || !ctx->nbits || !ctx->mlz || !ctx->acf || !ctx->shift_value -+ || !ctx->last_shift_value || !ctx->last_acf_mantissa || !ctx->raw_mantissa) { - av_log(avctx, AV_LOG_ERROR, "Allocating buffer memory failed.\n"); - return AVERROR(ENOMEM); - } -@@ -2132,6 +2132,10 @@ static av_cold int decode_init(AVCodecContext *avctx) - - for (c = 0; c < channels; ++c) { - ctx->raw_mantissa[c] = av_calloc(ctx->cur_frame_length, sizeof(**ctx->raw_mantissa)); -+ if (!ctx->raw_mantissa[c]) { -+ av_log(avctx, AV_LOG_ERROR, "Allocating buffer memory failed.\n"); -+ return AVERROR(ENOMEM); -+ } - } - } - --- -2.25.1 - -- 2.51.1 From 2efb64191a4b066ed6caebdabd5efebcad85f4dcbd7ef84841c412a34fd119c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Fri, 19 Sep 2025 21:52:43 +0200 Subject: [PATCH 5/7] no idea whats happing --- ffmpeg-7.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/ffmpeg-7.spec b/ffmpeg-7.spec index 11a3f9f..f052b90 100644 --- a/ffmpeg-7.spec +++ b/ffmpeg-7.spec @@ -122,7 +122,6 @@ Patch10: ffmpeg-chromium.patch Patch15: 11013-avcodec-decode-clean-up-if-get_hw_frames_parameters-.patch Patch18: ffmpeg-7-CVE-2025-25473.patch Patch19: ffmpeg-7-CVE-2025-22921.patch -Patch21: ffmpeg-CVE-2025-7700.patch BuildRequires: ladspa-devel BuildRequires: libgsm-devel BuildRequires: nasm -- 2.51.1 From f6804306d547b5bb9b4a941cb70da8894f0c4a0be185b9bb1daa24c447c3e631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Sat, 20 Sep 2025 11:53:25 +0200 Subject: [PATCH 6/7] .changes --- ffmpeg-7.changes | 153 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 152 insertions(+), 1 deletion(-) diff --git a/ffmpeg-7.changes b/ffmpeg-7.changes index c7d74d5..9bc0999 100644 --- a/ffmpeg-7.changes +++ b/ffmpeg-7.changes @@ -2,7 +2,158 @@ Fri Sep 19 18:44:35 UTC 2025 - Bjørn Lie - Update to version 7.1.2: - + wip + * doc/examples/vaapi_encode: fix invalid check on fwrite + * avcodec/librsvgdec: fix compilation with librsvg 2.50.3 + * fftools/ffmpeg: fix gracefully shutdown + * fftools/ffmpeg_demux: ensure the display_rotation option is honored + * avcodec/mjpegdec: use ff_frame_new_side_data() to export display matrix + aacdec_usac: use RefStruct to track unfinished extension buffers + avcode: Use av_fast_realloc() in ff_lzf_uncompress() + avcodec/dxv: Check coded_height, to avoid invalid av_clip() + avcodec/aac/aacdec: dont allow ff_aac_output_configure() allocating a new frame if it has no frame + avformat/lrcdec: Fix fate-sub-lrc-ms-remux on x86-32 + avcodec/sanm: Check w,h,left,top + avcodec/utvideodec: Clear plane_start array + fftools/ffmpeg_mux_init: Use 64bit for score computation in map_auto_video() + libavfilter/dnn/dnn_backend_tf: Remove redundant av_freep() to avoid double free + avcodec/dxv: Use av_fast_realloc() for op_data + avcodec/dxv: Use av_fast_realloc() and clear all new space + avcodec/dxv: Clear ctex + avcodec/dxv: Check that we initialize op_data + avcodec/exr: Check for pixel type consistency in DWA + avcodec/d3d12va_encode: fix label followed by a declaration warning + avcodec/libvorbisdec: avoid overflow when assinging sample rate from long to int + avcodec/g726: init missing sample rate + avformat/lrcdec: limit input timestamp range to avoid overflows + avcodec/scpr3: Clear clr + avcodec/ilbcdec: Clear cbvec when used with create_augmented_vector() + avcodec/jpeg2000dec: Make sure the 4 extra bytes allocated are initialized + avfilter/avf_showcqt: fix unbounded index when copying to fft_data + avcodec/aac/aacdec_usac: Limit sfo from noise offset to be above -200 + avcodec/aacsbr_template: Check ilb + avcodec/utvideodec: Set B for the width= 1 case + avcodec/ffv1: Clear state on alloc + avcodec/jpeg2000dec: implement cdef remapping during pixel format matching + avcodec/jpeg2000dec: move cdef default check into get_siz() + avcodec/exr: Check rle_raw_data and surroundings + avcodec/exr: Dont access outside xsize/ysize + examples: Add check and replace av_free() to avoid potential memory errors + libavcodec/tests/snowenc: Add av_free() to avoid memory leak + libavfilter/af_firequalizer: Add check for av_malloc_array() + libavcodec/videotoolbox_vp9: Move av_malloc() to avoid memory leak + avcodec/mpc8: init avctx->sample_rate + avcodec/cbs_h266_syntax_template: fix out of bounds access + avformat/libopenmpt: fix seeking weirdness + avformat/hls: add cmfv/cmfa exceptions + avformat/lrcdec: support arbitrary precision timestamp + libavcodec/tests/motion: Add check for avcodec_alloc_context3() + avcodec/tests/avpacket: Add av_free() to avoid memory leak + examples: Add av_freep to avoid potential memory leak + avcodec/tests/avpacket: Add av_packet_free() to avoid memory leak + avcodec/fits: Clear naxis + avcodec/vqavideo; Check bytestream2_get_buffer() reading next_codebook_buffer + avcodec/lzf: Check for input space + avcodec/imc: Clear padding of buf16 + avcodec/iff: Clear ham_buf + avcodec/cri: Check bytestream2_get_buffer() for end + avcodec/cri: Factor read_len out + avformat/dashdec: Allocate space for appended "/" + avcodec/mpegvideo_dec: Fix lowres=3 field select interlaced mpeg4 frame + avformat/mxg: clear AV_INPUT_BUFFER_PADDING_SIZE + avcodec/shorten: Clear the additionally allocated space on realloc + avformat/vqf: Ensure that comm_chunk is fully read + avformat/mov: make sure file_checksum is fully initialized + avcodec/hevc/hevcdec: Clean sao_pixel_buffer_v on allocation + avformat/asfdec_f: Check amount of value read + avcodec/jpegxl_parser: add sanity check for frame size + avcodec/ffv1dec: don't check chroma_planes for f->colorspace > 0 + avcodec/ffv1dec: don't add offsets to more NULL pointers + avformat/concatdec: Clip duration in one more case in get_best_effort_duration() + avcodec/ffv1dec: Check k in get_vlc_symbol() + avcodec/cfhd: Check idwt_buf size before allocation + avcodec/ivi: Check luma/chroma mb_size + avfilter/vaf_spectrumsynth: don't use uninitialized variable as scale + avcodec/motion_est: don't add offsets to NULL pointers + swscale/swscale_unscaled: don't add offsets to NULL pointers + avcodec/ffv1dec: don't add offsets to NULL pointers + libavcodec/alsdec.c: Add check for av_malloc_array() and av_calloc() + avcodec/psd: Move frame allocation after RLE processing + avcodec/smacker: Move buffer allocation to later + fftools/cmdutils: don't try to load arguments from file if not needed + avcodec/opus: don't materialize buf pointer from null + avfilter/avfilter: fix forwarding EOF for simple API filters in filter_activate_default + avcodec/speexdec: consider differing frame sizes in remaining space check + lavc/vvc: Fix condition for using default scaling factor + avformat/mov: Check that sample_count is allocated in mov_parse_heif_items() + avformat/iff: Check nb_channels == 0 in CHNL + avcodec/osq: Request a coding mode 2 sample + avcodec/osq: Switch back to av_ceil_log2() + avcodec/osq: Add note about update_stats() count + avcodec/osq: Fix signed integer overflow in update_stats() + avcodec/mss2dsp: use FF_PTR_ADD to add offsets to a pointer + avformat/movenc: fix writing reserved bits in EC3SpecificBox + avcodec/hevc/hevcdec: Check num_entry_point_offsets + avcodec/speexdec: Pass and check remaining packets to decode functions + swscale/swscale_unscaled: use 8 line alignment for planarCopyWrapper with dithering + aacenc_tns: clamp filter direction energy measurement + fftools/ffmpeg_demux: don't flag timestamps as unreliable if they are generated + avformat/iamf_parse: prevent overreads in update_extradata + avformat/iamf_parse: increase PutBytes buffer when writing AAC extradata + avformat/matroskadec: check that channels fit in signed 32bit int + avcodec/takdec: Check remaining space for first predictors + avcodec/svq3: Check there are bits left before decompression + avcodec/sonic: Check num_taps + avformat/imf_cpl: fix indention after previous commit + avformat/imf_cpl: do not continue looping forever + avformat/mov: reject negative ELST durations + avformat/avidec: Ignore duplicate GAB2 + MAINTAINERS: Add entry for samples-request + avcodec/h264_mb: Fix tmp_cr for arm + avcodec/vorbisdec: Dont treat overread as error + avcodec/hevc/ps: Fix dependant layer id check + avformat/iff: Check nb_channels == 0 in MHDR + tests/fate/filter-video: Fix dependancy for codecview + postproc/postprocess_template: fix dering with a 16x16 image + libpostproc: check minimum size + avformat/hls: Fix flash1.bogulus.cfd support + avformat/hls: Split allowed_segment_extensions off allowed_extensions + avformat/hls: Fix Youtube AAC + avformat/hls: add fmp4 to allowed_extensions + avformat/hls: Add ec3 to allowed_extensions + avformat/hls: Add cmfv and cmfa to allowed_extensions + postproc/postprocess_template: fix handling of first row of dering_C + postproc/postprocess_template: Fix reading uninitialized pixels in dering_C() + configure: Clearer documentation for "disable-safe-bitstream-reader" + avcodec/osq: avoid undefined negation + swscale/output: Fix integer overflow in yuv2gbrp_full_X_c() + avcodec/libtheora: fix setting keyframe_mask + doc: replace http/git by https urls + Revert "avformat/mpegts: update stream info when PMT ES stream_type changes" + avformat/matroska: Support JPEG2000 for demuxing + avformat/matroskadec: Fix VfW extradata size + configure: Use MSYSTEM_CARCH for default arch on msys2 + avcodec/lcevcdec: don't try to write to output frames directly + avfilter/avfiltergraph: fix regression in picking channel layout + avformat/mpegts: update stream info when PMT ES stream_type changes + avcodec/libzvbi-teletextdec: change new lines to \n in ASS header + avformat/wavdec: increase requested probe score for codec probe + avcodec/h264_slice: insert LCEVC side data before get_buffer() call + avformat/hls: Fix get key file error + avcodec/bsf/h264_mp4toannexb: Fix mixed bitstream format + avformat/mov: Reduce seek when interleaved_read is disabled + avfilter/vf_setparams: Fix chroma_location being cleared + configure: Enable -fno-common for Darwin targets, avoid linker warnings + configure: Only try to use the -no_warn_duplicate_libraries flag on Darwin + configure: Silence Xcode warnings about duplicate libraries + avcodec/mediacodecdec_common: Workaround MTK broken crop implementation + avcodec/Makefile: include aom_film_grain.o file for h264_sei component + lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang v2 + lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang + avcodec/libsvtav1: unbreak build with latest svtav1 + fftools/ffmpeg_filter: also remove display matrix side data from buffered frames +- Drop patches fixed upstream: + * 0001-avcodec-libsvtav1-unbreak-build-with-latest-svtav1.patch + * ffmpeg-CVE-2025-7700.patch ------------------------------------------------------------------- Wed Jul 23 13:28:49 UTC 2025 - Hans-Peter Jansen -- 2.51.1 From 830c7411165e370607410ce7bb57b3d67f57970f2c2573c618c454f301a2bc56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Sat, 20 Sep 2025 12:05:59 +0200 Subject: [PATCH 7/7] tweak .changes --- ffmpeg-7.changes | 152 ++--------------------------------------------- 1 file changed, 4 insertions(+), 148 deletions(-) diff --git a/ffmpeg-7.changes b/ffmpeg-7.changes index 9bc0999..b12dde7 100644 --- a/ffmpeg-7.changes +++ b/ffmpeg-7.changes @@ -2,155 +2,11 @@ Fri Sep 19 18:44:35 UTC 2025 - Bjørn Lie - Update to version 7.1.2: - * doc/examples/vaapi_encode: fix invalid check on fwrite * avcodec/librsvgdec: fix compilation with librsvg 2.50.3 - * fftools/ffmpeg: fix gracefully shutdown - * fftools/ffmpeg_demux: ensure the display_rotation option is honored - * avcodec/mjpegdec: use ff_frame_new_side_data() to export display matrix - aacdec_usac: use RefStruct to track unfinished extension buffers - avcode: Use av_fast_realloc() in ff_lzf_uncompress() - avcodec/dxv: Check coded_height, to avoid invalid av_clip() - avcodec/aac/aacdec: dont allow ff_aac_output_configure() allocating a new frame if it has no frame - avformat/lrcdec: Fix fate-sub-lrc-ms-remux on x86-32 - avcodec/sanm: Check w,h,left,top - avcodec/utvideodec: Clear plane_start array - fftools/ffmpeg_mux_init: Use 64bit for score computation in map_auto_video() - libavfilter/dnn/dnn_backend_tf: Remove redundant av_freep() to avoid double free - avcodec/dxv: Use av_fast_realloc() for op_data - avcodec/dxv: Use av_fast_realloc() and clear all new space - avcodec/dxv: Clear ctex - avcodec/dxv: Check that we initialize op_data - avcodec/exr: Check for pixel type consistency in DWA - avcodec/d3d12va_encode: fix label followed by a declaration warning - avcodec/libvorbisdec: avoid overflow when assinging sample rate from long to int - avcodec/g726: init missing sample rate - avformat/lrcdec: limit input timestamp range to avoid overflows - avcodec/scpr3: Clear clr - avcodec/ilbcdec: Clear cbvec when used with create_augmented_vector() - avcodec/jpeg2000dec: Make sure the 4 extra bytes allocated are initialized - avfilter/avf_showcqt: fix unbounded index when copying to fft_data - avcodec/aac/aacdec_usac: Limit sfo from noise offset to be above -200 - avcodec/aacsbr_template: Check ilb - avcodec/utvideodec: Set B for the width= 1 case - avcodec/ffv1: Clear state on alloc - avcodec/jpeg2000dec: implement cdef remapping during pixel format matching - avcodec/jpeg2000dec: move cdef default check into get_siz() - avcodec/exr: Check rle_raw_data and surroundings - avcodec/exr: Dont access outside xsize/ysize - examples: Add check and replace av_free() to avoid potential memory errors - libavcodec/tests/snowenc: Add av_free() to avoid memory leak - libavfilter/af_firequalizer: Add check for av_malloc_array() - libavcodec/videotoolbox_vp9: Move av_malloc() to avoid memory leak - avcodec/mpc8: init avctx->sample_rate - avcodec/cbs_h266_syntax_template: fix out of bounds access - avformat/libopenmpt: fix seeking weirdness - avformat/hls: add cmfv/cmfa exceptions - avformat/lrcdec: support arbitrary precision timestamp - libavcodec/tests/motion: Add check for avcodec_alloc_context3() - avcodec/tests/avpacket: Add av_free() to avoid memory leak - examples: Add av_freep to avoid potential memory leak - avcodec/tests/avpacket: Add av_packet_free() to avoid memory leak - avcodec/fits: Clear naxis - avcodec/vqavideo; Check bytestream2_get_buffer() reading next_codebook_buffer - avcodec/lzf: Check for input space - avcodec/imc: Clear padding of buf16 - avcodec/iff: Clear ham_buf - avcodec/cri: Check bytestream2_get_buffer() for end - avcodec/cri: Factor read_len out - avformat/dashdec: Allocate space for appended "/" - avcodec/mpegvideo_dec: Fix lowres=3 field select interlaced mpeg4 frame - avformat/mxg: clear AV_INPUT_BUFFER_PADDING_SIZE - avcodec/shorten: Clear the additionally allocated space on realloc - avformat/vqf: Ensure that comm_chunk is fully read - avformat/mov: make sure file_checksum is fully initialized - avcodec/hevc/hevcdec: Clean sao_pixel_buffer_v on allocation - avformat/asfdec_f: Check amount of value read - avcodec/jpegxl_parser: add sanity check for frame size - avcodec/ffv1dec: don't check chroma_planes for f->colorspace > 0 - avcodec/ffv1dec: don't add offsets to more NULL pointers - avformat/concatdec: Clip duration in one more case in get_best_effort_duration() - avcodec/ffv1dec: Check k in get_vlc_symbol() - avcodec/cfhd: Check idwt_buf size before allocation - avcodec/ivi: Check luma/chroma mb_size - avfilter/vaf_spectrumsynth: don't use uninitialized variable as scale - avcodec/motion_est: don't add offsets to NULL pointers - swscale/swscale_unscaled: don't add offsets to NULL pointers - avcodec/ffv1dec: don't add offsets to NULL pointers - libavcodec/alsdec.c: Add check for av_malloc_array() and av_calloc() - avcodec/psd: Move frame allocation after RLE processing - avcodec/smacker: Move buffer allocation to later - fftools/cmdutils: don't try to load arguments from file if not needed - avcodec/opus: don't materialize buf pointer from null - avfilter/avfilter: fix forwarding EOF for simple API filters in filter_activate_default - avcodec/speexdec: consider differing frame sizes in remaining space check - lavc/vvc: Fix condition for using default scaling factor - avformat/mov: Check that sample_count is allocated in mov_parse_heif_items() - avformat/iff: Check nb_channels == 0 in CHNL - avcodec/osq: Request a coding mode 2 sample - avcodec/osq: Switch back to av_ceil_log2() - avcodec/osq: Add note about update_stats() count - avcodec/osq: Fix signed integer overflow in update_stats() - avcodec/mss2dsp: use FF_PTR_ADD to add offsets to a pointer - avformat/movenc: fix writing reserved bits in EC3SpecificBox - avcodec/hevc/hevcdec: Check num_entry_point_offsets - avcodec/speexdec: Pass and check remaining packets to decode functions - swscale/swscale_unscaled: use 8 line alignment for planarCopyWrapper with dithering - aacenc_tns: clamp filter direction energy measurement - fftools/ffmpeg_demux: don't flag timestamps as unreliable if they are generated - avformat/iamf_parse: prevent overreads in update_extradata - avformat/iamf_parse: increase PutBytes buffer when writing AAC extradata - avformat/matroskadec: check that channels fit in signed 32bit int - avcodec/takdec: Check remaining space for first predictors - avcodec/svq3: Check there are bits left before decompression - avcodec/sonic: Check num_taps - avformat/imf_cpl: fix indention after previous commit - avformat/imf_cpl: do not continue looping forever - avformat/mov: reject negative ELST durations - avformat/avidec: Ignore duplicate GAB2 - MAINTAINERS: Add entry for samples-request - avcodec/h264_mb: Fix tmp_cr for arm - avcodec/vorbisdec: Dont treat overread as error - avcodec/hevc/ps: Fix dependant layer id check - avformat/iff: Check nb_channels == 0 in MHDR - tests/fate/filter-video: Fix dependancy for codecview - postproc/postprocess_template: fix dering with a 16x16 image - libpostproc: check minimum size - avformat/hls: Fix flash1.bogulus.cfd support - avformat/hls: Split allowed_segment_extensions off allowed_extensions - avformat/hls: Fix Youtube AAC - avformat/hls: add fmp4 to allowed_extensions - avformat/hls: Add ec3 to allowed_extensions - avformat/hls: Add cmfv and cmfa to allowed_extensions - postproc/postprocess_template: fix handling of first row of dering_C - postproc/postprocess_template: Fix reading uninitialized pixels in dering_C() - configure: Clearer documentation for "disable-safe-bitstream-reader" - avcodec/osq: avoid undefined negation - swscale/output: Fix integer overflow in yuv2gbrp_full_X_c() - avcodec/libtheora: fix setting keyframe_mask - doc: replace http/git by https urls - Revert "avformat/mpegts: update stream info when PMT ES stream_type changes" - avformat/matroska: Support JPEG2000 for demuxing - avformat/matroskadec: Fix VfW extradata size - configure: Use MSYSTEM_CARCH for default arch on msys2 - avcodec/lcevcdec: don't try to write to output frames directly - avfilter/avfiltergraph: fix regression in picking channel layout - avformat/mpegts: update stream info when PMT ES stream_type changes - avcodec/libzvbi-teletextdec: change new lines to \n in ASS header - avformat/wavdec: increase requested probe score for codec probe - avcodec/h264_slice: insert LCEVC side data before get_buffer() call - avformat/hls: Fix get key file error - avcodec/bsf/h264_mp4toannexb: Fix mixed bitstream format - avformat/mov: Reduce seek when interleaved_read is disabled - avfilter/vf_setparams: Fix chroma_location being cleared - configure: Enable -fno-common for Darwin targets, avoid linker warnings - configure: Only try to use the -no_warn_duplicate_libraries flag on Darwin - configure: Silence Xcode warnings about duplicate libraries - avcodec/mediacodecdec_common: Workaround MTK broken crop implementation - avcodec/Makefile: include aom_film_grain.o file for h264_sei component - lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang v2 - lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang - avcodec/libsvtav1: unbreak build with latest svtav1 - fftools/ffmpeg_filter: also remove display matrix side data from buffered frames + * libavfilter/af_firequalizer: Add check for av_malloc_array() + * avcodec/libsvtav1: unbreak build with latest svtav1 + * avformat/hls: Fix Youtube AAC + * Various bugfixes. - Drop patches fixed upstream: * 0001-avcodec-libsvtav1-unbreak-build-with-latest-svtav1.patch * ffmpeg-CVE-2025-7700.patch -- 2.51.1