AUR AI Reviewer

Review Results

Version #3226 of ffmpeg-full · commit 09d2d86999b0 · status Reviewed

Risk 0/5 · Safe .SRCINFO
Result #6900

Comment

The change only bumps the package version and resets pkgrel in .SRCINFO from 9.0.2-3 to 9.1-1. No sources, checksums, build steps, install scripts, or packaging metadata affecting execution or trust boundaries changed in the provided hunk. On its face this is a routine version update with no security impact visible in the diff reviewed.

@@ -1,7 +1,7 @@
 pkgbase = ffmpeg-full
 	pkgdesc = Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac)
-	pkgver = 9.0.2
-	pkgrel = 3
+	pkgver = 9.1
+	pkgrel = 1
 	url = https://ffmpeg.org/
 	arch = x86_64
 	license = LicenseRef-nonfree-and-unredistributable
Risk 0/5 · Safe .SRCINFO
Result #6901

Comment

The change is limited to .SRCINFO metadata updates for a version bump from ffmpeg 9.0.2 to 9.1 and dependency/source checksum refreshes. The added dependencies (astc-encoder, curl) are already reflected in the PKGBUILD and are ordinary runtime deps for ffmpeg features, not suspicious by themselves. The source URLs remain official HTTPS upstream locations, and there are no new build-time downloads, scripts, or privilege-related artifacts introduced by this diff. No security red flags are evident in the reviewed hunk.

@@ -23,11 +23,13 @@ pkgbase = ffmpeg-full
 	depends = alsa-lib
 	depends = aom
 	depends = aribb24
+	depends = astc-encoder
 	depends = avisynthplus
 	depends = bzip2
 	depends = cairo
 	depends = chromaprint-fftw
 	depends = codec2
+	depends = curl
 	depends = dav1d
 	depends = davs2
 	depends = flite1
Risk 0/5 · Safe .SRCINFO
Result #6902

Comment

The change is a routine upstream version bump in .SRCINFO from ffmpeg 9.0.2 to 9.1, with corresponding checksum updates and dependency metadata adjustments. The source URLs remain official HTTPS releases from ffmpeg.org, and there are no new suspicious sources, build-time downloads, privilege escalation, or install-script changes in this diff. The removed patch entry appears to be a packaging maintenance update rather than a security concern, and the added dependencies (astc-encoder, curl) are consistent with the package's feature set. Overall this looks low risk.

@@ -153,8 +155,8 @@ pkgbase = ffmpeg-full
 	provides = libswscale.so
 	provides = libswresample.so
 	conflicts = ffmpeg
-	source = https://ffmpeg.org/releases/ffmpeg-9.0.2.tar.xz
-	source = https://ffmpeg.org/releases/ffmpeg-9.0.2.tar.xz.asc
+	source = https://ffmpeg.org/releases/ffmpeg-9.1.tar.xz
+	source = https://ffmpeg.org/releases/ffmpeg-9.1.tar.xz.asc
 	source = git+https://github.com/lensfun/lensfun.git
 	source = https://github.com/ggml-org/whisper.cpp/archive/v1.9.5/whisper.cpp-1.9.5.tar.gz
 	source = 010-ffmpeg-add-svt-hevc.patch
Risk 0/5 · Safe .SRCINFO
Result #6903

Comment

The .SRCINFO update is a routine version bump from ffmpeg 9.0.2 to 9.1 with corresponding checksum refreshes and dependency/source list adjustments. The removed openapv1.1 patch source suggests the upstream release may have incorporated that fix, which is not inherently suspicious. I do not see any signs of malicious sources, build-time network fetching beyond declared sources, privilege escalation, or packaging changes that would affect runtime security. Risk is low.

@@ -164,21 +166,19 @@ pkgbase = ffmpeg-full
 	source = 050-ffmpeg-fix-cuda-nvcc-with-gcc14.patch
 	source = 060-ffmpeg-lensfun-fix-pkgconfig.patch
 	source = 070-ffmpeg-whisper.cpp-fix-pkgconfig.patch
-	source = 080-ffmpeg-openapv1.1-fix.patch::https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/c54710db21c1827dbc3e47658a562525af0fe528.patch
 	source = LICENSE
 	validpgpkeys = FCF986EA15E6E293A5644F10B4322F04D67658D8
-	sha256sums = 8c3850283eb25fa026482078a04051e0be17347b09ef81a0849bec15a96e002e
+	sha256sums = 1a4d394ae63d190a526cd052eb4415c156b5c5e2df37efab41a7de0b8fde2433
 	sha256sums = SKIP
 	sha256sums = SKIP
 	sha256sums = ff1a9053feb509ff9d7729703355541ae9690073a6b1c40eb692c962e0dc1720
-	sha256sums = e6fdcb8446b0a0c0967f125d2de5084a5bdb418a1a6608f808cff2c97fc9bd6a
+	sha256sums = 13132f22a475acd811a5610ffab08d6156d992b40dad0ddcacd8a76a9e8cdd74
 	sha256sums = a164ebdc4d281352bf7ad1b179aae4aeb33f1191c444bed96cb8ab333c046f81
-	sha256sums = cc80568f7dab2094f4f3bede6d0f068f217161f924915b067b0d287cf53b0849
-	sha256sums = cd1aa93e78800247b4516a01ef391106acb362957bd1e56f85d64906343cddac
-	sha256sums = 4a9a672f67cc0e5dd63bd7659f5a5198cd981e60bbbc1b9a63277758be6a7fdf
+	sha256sums = bb16c7022349600f672f42e60c1133ce9a5956ef25dd81273f9ff1444c0eb7e7
+	sha256sums = 141981e5596b6f7031825f117036fe152121c255ea3be7b3baf8871a87f64599
+	sha256sums = d8c3e8b8d107eda4ef7c921bc20a9250d8c9aed47e4602c1d57e479bffb25bd2
 	sha256sums = c39addf190d25d1182c5c5658677f77ee7c1ae542969b2004441c62a425d324b
 	sha256sums = 2c846c629ad129ae8ce50791de4f1d390714db6d6420a35406b83b9b44999d4a
-	sha256sums = 6eda059a49ec07dc8d0c872c3c1fc71d8f92c5e76463380c62fe027111b3ae2e
 	sha256sums = 04a7176400907fd7db0d69116b99de49e582a6e176b3bfb36a03e50a4cb26a36
 
 pkgname = ffmpeg-full
Risk 0/5 · Safe 010-ffmpeg-add-svt-hevc.patch
Result #6904

Comment

This patch only adjusts hunk line numbers in an existing ffmpeg configure/Makefile patch; it does not change any functional build logic, sources, or installed artifacts. No security-relevant behavior is introduced by this diff.

@@ -1,6 +1,6 @@
 --- a/configure
 +++ b/configure
-@@ -345,6 +345,7 @@ External library support:
+@@ -347,6 +347,7 @@ External library support:
    --enable-whisper         enable whisper filter [no]
    --disable-xlib           disable xlib [autodetect]
    --disable-zlib           disable zlib [autodetect]
Risk 0/5 · Safe 010-ffmpeg-add-svt-hevc.patch
Result #6905

Comment

The change is a small patch-context refresh for an existing FFmpeg configure/Makefile patch that adds libsvt-hevc support. It does not introduce new commands, downloads, privilege changes, install scripts, or packaging behavior. The diff only updates hunk line numbers/context to match the upstream file and keeps the same single-line additions in configure/Makefile/allcodecs.c. No security-relevant behavior is introduced by this patch refresh itself.

@@ -8,7 +8,7 @@
  
    The following libraries provide various hardware acceleration features:
    --disable-amf            disable AMF video encoding code [autodetect]
-@@ -2129,6 +2130,7 @@ EXTERNAL_LIBRARY_LIST="
+@@ -2107,6 +2108,7 @@ EXTERNAL_LIBRARY_LIST="
      libssh
      libsvtav1
      libsvtjpegxs
Risk 0/5 · Safe 010-ffmpeg-add-svt-hevc.patch
Result #6906

Comment

The patch only adjusts line numbers in an FFmpeg configure/Makefile patch to add SVT-HEVC support; there are no functional changes to build logic, no network fetches, no privilege changes, and no suspicious install/runtime behavior. This is a low-risk metadata/context update in a source patch file.

@@ -16,7 +16,7 @@
      libtensorflow
      libtesseract
      libtheora
-@@ -3903,6 +3905,7 @@ vapoursynth_demuxer_deps="vapoursynth"
+@@ -3880,6 +3882,7 @@ vapoursynth_demuxer_deps="vapoursynth"
  videotoolbox_suggest="coreservices"
  videotoolbox_deps="corefoundation coremedia corevideo VTDecompressionSessionDecodeFrame"
  videotoolbox_encoder_deps="videotoolbox VTCompressionSessionPrepareToEncodeFrames"
Risk 0/5 · Safe 010-ffmpeg-add-svt-hevc.patch
Result #6907

Comment

The patch adds FFmpeg build support for the SVT-HEVC encoder by wiring a new external library option, object file, and codec registration, plus a new encoder implementation file. This is a normal feature addition with no signs of malicious behavior: no network access, no privilege escalation, no install-script changes, and no suspicious obfuscation or persistence mechanisms. The new dependency is already present in the package metadata (`svt-hevc`), and the patch only extends configure/build integration for that library. Risk is low.

@@ -24,7 +24,7 @@
  
  # demuxers / muxers
  ac3_demuxer_select="ac3_parser"
-@@ -7442,6 +7445,7 @@ enabled libspeex          && require_pkg
+@@ -7357,6 +7360,7 @@ enabled libspeex          && require_pkg_config libspeex speex speex/speex.h spe
  enabled libsrt            && require_pkg_config libsrt "srt >= 1.3.0" srt/srt.h srt_socket
  enabled libsvtav1         && require_pkg_config libsvtav1 "SvtAv1Enc >= 0.9.0" EbSvtAv1Enc.h svt_av1_enc_init_handle
  enabled libsvtjpegxs      && require_pkg_config libsvtjpegxs "SvtJpegxs >= 0.10.0" SvtJpegxsEnc.h svt_jpeg_xs_encoder_init
Risk 0/5 · Safe 010-ffmpeg-add-svt-hevc.patch
Result #6908

Comment

The change is a small patch-context update only: line numbers in an ffmpeg patch were adjusted to match upstream file drift, with no added shell commands, downloads, privilege changes, or packaging behavior. The reviewed hunk in libavcodec/Makefile is just context for adding SVT-HEVC support and does not introduce any security-relevant logic by itself. No red flags are present in the diff provided.

@@ -34,7 +34,7 @@
  enabled libtheora         && { check_pkg_config libtheora theoraenc theora/theoraenc.h th_info_init ||
 --- a/libavcodec/Makefile
 +++ b/libavcodec/Makefile
-@@ -1224,6 +1224,7 @@ OBJS-$(CONFIG_LIBWEBP_ANIM_ENCODER)
+@@ -1245,6 +1245,7 @@ OBJS-$(CONFIG_LIBWEBP_ANIM_ENCODER)       += libwebpenc_common.o libwebpenc_anim
  OBJS-$(CONFIG_LIBX262_ENCODER)            += libx264.o
  OBJS-$(CONFIG_LIBX264_ENCODER)            += libx264.o
  OBJS-$(CONFIG_LIBX265_ENCODER)            += libx265.o
Risk 0/5 · Safe 010-ffmpeg-add-svt-hevc.patch
Result #6909

Comment

The reviewed hunk is a small context-line offset change inside an existing patch file; it does not introduce new commands, downloads, privilege changes, or packaging behavior. I checked the full patch context and the change only adjusts line numbers in ffmpeg source patch metadata, with no security-relevant content added or removed in this hunk. Risk is therefore negligible.

@@ -44,7 +44,7 @@
  OBJS-$(CONFIG_LIBXEVD_DECODER)            += libxevd.o
 --- a/libavcodec/allcodecs.c
 +++ b/libavcodec/allcodecs.c
-@@ -830,6 +830,7 @@ extern const FFCodec ff_libxavs_encoder;
+@@ -840,6 +840,7 @@ extern const FFCodec ff_libxavs_encoder;
  extern const FFCodec ff_libxavs2_encoder;
  extern const FFCodec ff_libxvid_encoder;
  extern const FFCodec ff_libzvbi_teletext_decoder;
Risk 0/5 · Safe 030-ffmpeg-add-svt-vp9.patch
Result #6910

Comment

The patch only updates line offsets in an existing ffmpeg configure/Makefile codec-registration patch; it does not introduce new build logic, network access, privilege changes, or packaging behavior. No security-relevant content changed in the reviewed hunk beyond context line numbers, so risk is minimal.

@@ -1,6 +1,6 @@
 --- a/configure
 +++ b/configure
-@@ -298,6 +298,7 @@ External library support:
+@@ -300,6 +300,7 @@ External library support:
    --enable-libvorbis       enable Vorbis en/decoding via libvorbis,
                             native implementation exists [no]
    --enable-libvpx          enable VP8 and VP9 de/encoding via libvpx [no]
Risk 0/5 · Safe 030-ffmpeg-add-svt-vp9.patch
Result #6911

Comment

The patch only updates an FFmpeg configure/Makefile integration patch to add SVT-VP9 support alongside existing external libraries. The change is limited to build-system metadata and codec registration lists; it does not introduce new scripts, network fetches, privilege changes, or install-time behavior. I do not see any security-relevant red flags in this diff hunk.

@@ -8,7 +8,7 @@
    --enable-libvvenc        enable H.266/VVC encoding via vvenc [no]
    --enable-libwebp         enable WebP encoding via libwebp [no]
    --enable-libx264         enable H.264 encoding via x264 [no]
-@@ -2142,6 +2143,7 @@ EXTERNAL_LIBRARY_LIST="
+@@ -2120,6 +2121,7 @@ EXTERNAL_LIBRARY_LIST="
      libvmaf
      libvorbis
      libvpx
Risk 0/5 · Safe 030-ffmpeg-add-svt-vp9.patch
Result #6912

Comment

The patch only adjusts line numbers in an existing ffmpeg configure patch to account for upstream drift; it does not change any build logic, sources, dependencies, or installed artifacts. No security-relevant behavior is introduced in this diff hunk.

@@ -16,7 +16,7 @@
      libvvenc
      libwebp
      libxevd
-@@ -3885,6 +3887,7 @@ libvpx_vp8_decoder_deps="libvpx"
+@@ -3862,6 +3864,7 @@ libvpx_vp8_decoder_deps="libvpx"
  libvpx_vp8_encoder_deps="libvpx"
  libvpx_vp9_decoder_deps="libvpx"
  libvpx_vp9_encoder_deps="libvpx"
Risk 0/5 · Safe 030-ffmpeg-add-svt-vp9.patch
Result #6913

Comment

The patch only adjusts line numbers/context in an existing ffmpeg configure/Makefile patch to add SVT-VP9 support; there is no functional change to the package build logic, no new sources, no network access, and no privilege/persistence behavior. I found no security-relevant content in the modified hunk itself.

@@ -24,7 +24,7 @@
  libvvenc_encoder_deps="libvvenc"
  libwebp_encoder_deps="libwebp"
  libwebp_anim_encoder_deps="libwebp"
-@@ -7490,6 +7493,7 @@ enabled libvpx            && {
+@@ -7406,6 +7409,7 @@ enabled libvpx            && {
      fi
  }
  
Risk 0/5 · Safe 030-ffmpeg-add-svt-vp9.patch
Result #6914

Comment

The patch only updates ffmpeg build-system integration for SVT-VP9 (configure help/listing, dependency lists, Makefile object selection, and codec declarations). It does not introduce new runtime code, network access, privilege changes, install scripts, or bundled binaries. The change appears to be a straightforward build configuration adjustment with no security-relevant behavior beyond enabling an additional optional codec backend.

@@ -34,7 +34,7 @@
      enabled libwebp_encoder      && require_pkg_config libwebp "libwebp >= 0.2.0" webp/encode.h WebPGetEncoderVersion
 --- a/libavcodec/Makefile
 +++ b/libavcodec/Makefile
-@@ -1218,6 +1218,7 @@ OBJS-$(CONFIG_LIBVPX_VP8_DECODER)         += libvpxdec.o
+@@ -1239,6 +1239,7 @@ OBJS-$(CONFIG_LIBVPX_VP8_DECODER)         += libvpxdec.o
  OBJS-$(CONFIG_LIBVPX_VP8_ENCODER)         += libvpxenc.o
  OBJS-$(CONFIG_LIBVPX_VP9_DECODER)         += libvpxdec.o
  OBJS-$(CONFIG_LIBVPX_VP9_ENCODER)         += libvpxenc.o
Risk 0/5 · Safe 030-ffmpeg-add-svt-vp9.patch
Result #6915

Comment

The patch only adds SVT-VP9 integration hooks to FFmpeg's build system (configure/Makefile/allcodecs) and does not introduce any executable payload, network access, privilege changes, or packaging-side persistence. The diff is limited to enabling an additional external codec dependency and corresponding object/codec registration. No suspicious sources, scripts, or install-time actions are present in the reviewed hunk.

@@ -44,7 +44,7 @@
  OBJS-$(CONFIG_LIBWEBP_ANIM_ENCODER)       += libwebpenc_common.o libwebpenc_animencoder.o
 --- a/libavcodec/allcodecs.c
 +++ b/libavcodec/allcodecs.c
-@@ -816,6 +816,7 @@ extern const FFCodec ff_libvpx_vp8_encoder;
+@@ -826,6 +826,7 @@ extern const FFCodec ff_libvpx_vp8_encoder;
  extern const FFCodec ff_libvpx_vp8_decoder;
  extern const FFCodec ff_libvpx_vp9_encoder;
  extern const FFCodec ff_libvpx_vp9_decoder;
Risk 0/5 · Safe 040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch
Result #6916

Comment

The change is a trivial patch-context line-number adjustment in an existing source patch file. It does not alter the patch payload, build logic, install scripts, or any executable code, and there are no security-relevant behaviors introduced by this diff hunk alone.

@@ -1,6 +1,6 @@
 --- a/libavformat/avformat.h
 +++ b/libavformat/avformat.h
-@@ -1229,6 +1229,10 @@ typedef struct AVStreamGroup {
+@@ -1316,6 +1316,10 @@ typedef struct AVStreamGroup {
  
  struct AVCodecParserContext *av_stream_get_parser(const AVStream *s);
  
Risk 0/5 · Safe 050-ffmpeg-fix-cuda-nvcc-with-gcc14.patch
Result #6917

Comment

The change only updates the patch hunk offset in 050-ffmpeg-fix-cuda-nvcc-with-gcc14.patch so it applies against a newer upstream configure file. There is no content change to the actual patch logic, no new code execution, no network activity, and no packaging/persistence impact. This is a low-risk maintenance-only diff.

@@ -1,6 +1,6 @@
 --- a/configure
 +++ b/configure
-@@ -7200,7 +7200,7 @@ if [ -z "$nvccflags" ]; then
+@@ -7098,7 +7098,7 @@ if [ -z "$nvccflags" ]; then
      nvccflags=$nvccflags_default
  fi
  
Risk 0/5 · Safe PKGBUILD
Result #6918

Comment

The change only bumps pkgver from 9.0.2 to 9.1 and resets pkgrel from 3 to 1. No build logic, sources, checksums, install scripts, or packaging behavior changed in the provided hunk. On its face this is a routine version update with no security-relevant red flags in the diff shown.

@@ -2,8 +2,8 @@
 # Contributor: Iacopo Isimbaldi <isiachi@rhye.it>
 
 pkgname=ffmpeg-full
-pkgver=9.0.2
-pkgrel=3
+pkgver=9.1
+pkgrel=1
 _svt_hevc_ver='4181c9ee0611baefb40b4c0ed10023cfd837d522'
 _whispercpp_ver='1.9.5'
 pkgdesc='Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac)'
Risk 1/5 · Low PKGBUILD
Result #6919

Comment

The change is low risk. It only adds two runtime dependencies and adjusts the build to use them: astc-encoder via a local symlinked include path, and curl via --enable-libcurl. The removed upstream patch appears to be superseded by the new package version, and there are no signs of network fetches, privilege escalation, install-script changes, or suspicious execution. The only mildly concerning aspect is the use of a symlink into /usr/include during prepare(), but it is confined to the build tree and does not write outside pkgdir or introduce persistence.

@@ -14,11 +14,13 @@ depends=(
     'alsa-lib'
     'aom'
     'aribb24'
+    'astc-encoder'
     'avisynthplus' # loaded on-demand by dlopen()
     'bzip2'
     'cairo'
     'chromaprint-fftw'
     'codec2'
+    'curl'
     'dav1d'
     'davs2'
     'flite1'
Risk 0/5 · Safe PKGBUILD
Result #6920

Comment

The change is low risk. It removes one upstream patch source URL from the source array and adds a local symlink in prepare() to satisfy an include-path quirk for astcenc. I did not see any network fetches, privilege escalation, writes outside the build directory, or other suspicious execution. The symlink is created under $srcdir and points to a system header, which is unusual but not inherently malicious in this context. No evidence of backdoors or integrity issues in the provided hunk.

@@ -172,24 +174,26 @@ source=("https://ffmpeg.org/releases/ffmpeg-${pkgver}.tar.xz"{,.asc}
         '050-ffmpeg-fix-cuda-nvcc-with-gcc14.patch'
         '060-ffmpeg-lensfun-fix-pkgconfig.patch'
         '070-ffmpeg-whisper.cpp-fix-pkgconfig.patch'
-        '080-ffmpeg-openapv1.1-fix.patch'::'https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/c54710db21c1827dbc3e47658a562525af0fe528.patch'
         'LICENSE')
-sha256sums=('8c3850283eb25fa026482078a04051e0be17347b09ef81a0849bec15a96e002e'
+sha256sums=('1a4d394ae63d190a526cd052eb4415c156b5c5e2df37efab41a7de0b8fde2433'
             'SKIP'
             'SKIP'
             'ff1a9053feb509ff9d7729703355541ae9690073a6b1c40eb692c962e0dc1720'
-            'e6fdcb8446b0a0c0967f125d2de5084a5bdb418a1a6608f808cff2c97fc9bd6a'
+            '13132f22a475acd811a5610ffab08d6156d992b40dad0ddcacd8a76a9e8cdd74'
             'a164ebdc4d281352bf7ad1b179aae4aeb33f1191c444bed96cb8ab333c046f81'
-            'cc80568f7dab2094f4f3bede6d0f068f217161f924915b067b0d287cf53b0849'
-            'cd1aa93e78800247b4516a01ef391106acb362957bd1e56f85d64906343cddac'
-            '4a9a672f67cc0e5dd63bd7659f5a5198cd981e60bbbc1b9a63277758be6a7fdf'
+            'bb16c7022349600f672f42e60c1133ce9a5956ef25dd81273f9ff1444c0eb7e7'
+            '141981e5596b6f7031825f117036fe152121c255ea3be7b3baf8871a87f64599'
+            'd8c3e8b8d107eda4ef7c921bc20a9250d8c9aed47e4602c1d57e479bffb25bd2'
             'c39addf190d25d1182c5c5658677f77ee7c1ae542969b2004441c62a425d324b'
             '2c846c629ad129ae8ce50791de4f1d390714db6d6420a35406b83b9b44999d4a'
-            '6eda059a49ec07dc8d0c872c3c1fc71d8f92c5e76463380c62fe027111b3ae2e'
             '04a7176400907fd7db0d69116b99de49e582a6e176b3bfb36a03e50a4cb26a36')
 validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8')
 
 prepare() {
+    # ffmpeg includes the astc-encoder header from <astcenc/astcenc.h> instead of using just <astcenc.h>
+    mkdir -p include/astcenc
+    ln -sf /usr/include/astcenc.h include/astcenc/astcenc.h
+    
     rm -f "ffmpeg-${pkgver}/libavcodec"/libsvt_{hevc,vp9}.c
     patch -d "ffmpeg-${pkgver}" -Np1 -i "${srcdir}/010-ffmpeg-add-svt-hevc.patch"
     patch -d "ffmpeg-${pkgver}" -Np1 -i "${srcdir}/020-ffmpeg-add-svt-hevc-docs-g${_svt_hevc_ver:0:7}.patch"
Risk 0/5 · Safe PKGBUILD
Result #6921

Comment

The change only removes application of one local patch in prepare(): 080-ffmpeg-openapv1.1-fix.patch. No new code is introduced, no build-time network access or privilege changes are added, and no packaging/install-script behavior changes. The security impact is low; the main effect is a functional regression or build/runtime compatibility issue for OpenAPV1.1 support, not a security issue in itself. I found no evidence in this diff of backdoors, persistence, or integrity problems.

@@ -198,7 +202,6 @@ prepare() {
     patch -d "ffmpeg-${pkgver}" -Np1 -i "${srcdir}/050-ffmpeg-fix-cuda-nvcc-with-gcc14.patch"
     patch -d lensfun -Np1 -i "${srcdir}/060-ffmpeg-lensfun-fix-pkgconfig.patch"
     patch -d "whisper.cpp-${_whispercpp_ver}" -Np1 -i "${srcdir}/070-ffmpeg-whisper.cpp-fix-pkgconfig.patch"
-    patch -d "ffmpeg-${pkgver}" -Np1 -i "${srcdir}/080-ffmpeg-openapv1.1-fix.patch"
 }
 
 build() {
Risk 0/5 · Safe PKGBUILD
Result #6922

Comment

The change only adds an extra include path to CFLAGS during build: `${srcdir}/include`. This is a local build-directory path under the package source tree, not a network fetch or privilege escalation mechanism. It does not introduce shell execution, persistence, or packaging outside `$pkgdir`. The only security-relevant concern would be if that include directory were populated by an untrusted source elsewhere in the build, but from this diff alone there is no evidence of that. Overall this looks like a benign build fix with no material security impact.

@@ -236,7 +239,7 @@ build() {
     cd "ffmpeg-${pkgver}"
     printf '%s\n' '  -> Running ffmpeg configure script...'
     
-    export CFLAGS+=' -isystem/opt/cuda/include'
+    export CFLAGS+=" -isystem/opt/cuda/include -isystem ${srcdir}/include"
     export LDFLAGS+=' -L/opt/cuda/lib64'
     
     # fix build of libavfilter/asrc_flite.c with gcc 14
Risk 0/5 · Safe PKGBUILD
Result #6923

Comment

The change is low risk. It mainly updates ffmpeg-full to 9.1 and adds support for additional upstream libraries (astc-encoder, curl, libfdk-xhe-aac) plus a small build-time symlink workaround for the astc-encoder header layout. I did not find any suspicious network fetches, shell execution, privilege escalation, or install-script behavior in the reviewed hunk. The new symlink is created under the build directory and only affects compilation include paths, not the installed system. The removed patch/source entry appears to be a normal upstream patch cleanup. Overall this looks like a routine packaging update rather than a supply-chain or persistence issue.

@@ -272,17 +275,20 @@ build() {
         --enable-libaribb24 \
         --enable-libaribcaption \
         --enable-libass \
+        --enable-libastcenc \
         --enable-libbluray \
         --enable-libbs2b \
         --enable-libcaca \
         --enable-libcdio \
         --enable-libcodec2 \
+        --enable-libcurl \
         --enable-libdav1d \
         --enable-libdavs2 \
         --enable-libdc1394 \
         --enable-libdvdnav \
         --enable-libdvdread \
         --enable-libfdk-aac \
+        --enable-libfdk-xhe-aac \
         --enable-libflite \
         --enable-libfontconfig \
         --enable-libfreetype \
Risk 0/5 · Safe PKGBUILD
Result #6924

Comment

The change only removes the --enable-opengl configure flag from the ffmpeg build. This is a build-feature reduction, not an added execution path or packaging/persistence change. I do not see any security-relevant risk introduced by this diff alone.

@@ -391,7 +397,6 @@ build() {
         --enable-nvenc \
         --disable-ohcodec \
         --enable-opencl \
-        --enable-opengl \
         --enable-rkmpp \
         --enable-v4l2-m2m \
         --enable-vdpau \