public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ffmpeg] epel9-next: Revert "Backport patch to fix -Wint-conversion for gcc-14"
@ 2026-07-20 17:31 Dominik 'Rathann' Mierzejewski
  0 siblings, 0 replies; only message in thread
From: Dominik 'Rathann' Mierzejewski @ 2026-07-20 17:31 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/ffmpeg
            Branch : epel9-next
            Commit : 67cc0fa210d0fbeb0dfffa18c2b2165b44d92970
            Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
            Date   : 2024-01-31T16:28:56+01:00
            Stats  : +0/-41 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/ffmpeg/c/67cc0fa210d0fbeb0dfffa18c2b2165b44d92970?branch=epel9-next

            Log:
            Revert "Backport patch to fix -Wint-conversion for gcc-14"

This reverts commit b58631f03075084b20b0c7066ca8212707429388.

This change is not a complete fix. A complete fix is provided in
https://src.fedoraproject.org/rpms/ffmpeg/pull-request/23 . This
revert is necessary for the PR to be mergeable again.

---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 120554b..49adee5 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -120,9 +120,6 @@ Patch2:         ffmpeg-allow-fdk-aac-free.patch
 # https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=10211
 Patch4:         0001-lavc-libopenh264-Drop-openh264-runtime-version-check.patch
 Patch5:         ffmpeg-c99.patch
-# Upstream report/patch for gcc-14 to fix -Wint-conversion
-# https://trac.ffmpeg.org/ticket/10833
-Patch6: lavfi-vsrc_testsrc_vulkan-fix-Wint-conversion.patch
 
 # Set up dlopen for openh264
 Patch1001:      ffmpeg-dlopen-openh264.patch

diff --git a/lavfi-vsrc_testsrc_vulkan-fix-Wint-conversion.patch b/lavfi-vsrc_testsrc_vulkan-fix-Wint-conversion.patch
deleted file mode 100644
index ad62b7a..0000000
--- a/lavfi-vsrc_testsrc_vulkan-fix-Wint-conversion.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 5860a966d2fffbbda1af0014f0a4d37a21c4f2ca Mon Sep 17 00:00:00 2001
-From: Lynne <dev@lynne.ee>
-Date: Wed, 31 Jan 2024 14:15:04 +0100
-Subject: [PATCH] lavfi/vsrc_testsrc_vulkan: fix -Wint-conversion
-
-While VK_NULL_HANDLE is equivalent to NULL on 64-bit platforms, the same is not
-true across all platforms.
-
-Fixes building with gcc-14.
----
- libavfilter/vsrc_testsrc_vulkan.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/libavfilter/vsrc_testsrc_vulkan.c b/libavfilter/vsrc_testsrc_vulkan.c
-index 8761c21dfd1e..1720bfac5e3a 100644
---- a/libavfilter/vsrc_testsrc_vulkan.c
-+++ b/libavfilter/vsrc_testsrc_vulkan.c
-@@ -231,7 +231,7 @@ static int testsrc_vulkan_activate(AVFilterContext *ctx)
-                 return AVERROR(ENOMEM);
- 
-             err = ff_vk_filter_process_simple(&s->vkctx, &s->e, &s->pl, s->picref, NULL,
--                                              NULL, &s->opts, sizeof(s->opts));
-+                                              VK_NULL_HANDLE, &s->opts, sizeof(s->opts));
-             if (err < 0)
-                 return err;
-         }
-@@ -250,7 +250,7 @@ static int testsrc_vulkan_activate(AVFilterContext *ctx)
-     frame->sample_aspect_ratio = s->sar;
-     if (!s->draw_once) {
-         err = ff_vk_filter_process_simple(&s->vkctx, &s->e, &s->pl, frame, NULL,
--                                          NULL, &s->opts, sizeof(s->opts));
-+                                          VK_NULL_HANDLE, &s->opts, sizeof(s->opts));
-         if (err < 0) {
-             av_frame_free(&frame);
-             return err;
--- 
-2.42.0
-

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-20 17:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 17:31 [rpms/ffmpeg] epel9-next: Revert "Backport patch to fix -Wint-conversion for gcc-14" Dominik 'Rathann' Mierzejewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox