forked from jengelh/ffmpeg-4
Add ffmpeg-c99.patch
- Add ffmpeg-c99.patch so that the package conforms to the C99 standard and builds on i586 with GCC 14.
This commit is contained in:
parent
90ca7e24a6
commit
4cf3cb81cc
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 26 13:19:42 UTC 2024 - Filip Kastl <filip.kastl@suse.com>
|
||||||
|
|
||||||
|
- Add ffmpeg-c99.patch so that the package conforms to the C99
|
||||||
|
standard and builds on i586 with GCC 14.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 27 11:38:35 UTC 2024 - Cliff Zhao <qzhao@suse.com>
|
Tue Apr 27 11:38:35 UTC 2024 - Cliff Zhao <qzhao@suse.com>
|
||||||
|
|
||||||
|
@ -131,6 +131,7 @@ Patch17: ffmpeg-CVE-2023-49502.patch
|
|||||||
Patch18: ffmpeg-CVE-2023-51793.patch
|
Patch18: ffmpeg-CVE-2023-51793.patch
|
||||||
Patch19: 0001-avfilter-af_stereowiden-Check-length.patch
|
Patch19: 0001-avfilter-af_stereowiden-Check-length.patch
|
||||||
Patch20: ffmpeg-CVE-2023-50010.patch
|
Patch20: ffmpeg-CVE-2023-50010.patch
|
||||||
|
Patch21: ffmpeg-c99.patch
|
||||||
BuildRequires: ladspa-devel
|
BuildRequires: ladspa-devel
|
||||||
BuildRequires: libgsm-devel
|
BuildRequires: libgsm-devel
|
||||||
BuildRequires: libmp3lame-devel
|
BuildRequires: libmp3lame-devel
|
||||||
|
26
ffmpeg-c99.patch
Normal file
26
ffmpeg-c99.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
Index: ffmpeg-4.4.4/libavutil/hwcontext_vaapi.c
|
||||||
|
===================================================================
|
||||||
|
--- ffmpeg-4.4.4.orig/libavutil/hwcontext_vaapi.c
|
||||||
|
+++ ffmpeg-4.4.4/libavutil/hwcontext_vaapi.c
|
||||||
|
@@ -1032,7 +1032,7 @@ static int vaapi_map_from_drm(AVHWFrames
|
||||||
|
uint32_t va_fourcc;
|
||||||
|
int err, i, j, k;
|
||||||
|
|
||||||
|
- unsigned long buffer_handle;
|
||||||
|
+ uintptr_t buffer_handle;
|
||||||
|
VASurfaceAttribExternalBuffers buffer_desc;
|
||||||
|
VASurfaceAttrib attrs[2] = {
|
||||||
|
{
|
||||||
|
Index: ffmpeg-4.4.4/libavutil/hwcontext_vulkan.c
|
||||||
|
===================================================================
|
||||||
|
--- ffmpeg-4.4.4.orig/libavutil/hwcontext_vulkan.c
|
||||||
|
+++ ffmpeg-4.4.4/libavutil/hwcontext_vulkan.c
|
||||||
|
@@ -862,7 +862,7 @@ static void free_exec_ctx(AVHWFramesCont
|
||||||
|
|
||||||
|
av_freep(&cmd->queues);
|
||||||
|
av_freep(&cmd->bufs);
|
||||||
|
- cmd->pool = NULL;
|
||||||
|
+ cmd->pool = VK_NULL_HANDLE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static VkCommandBuffer get_buf_exec_ctx(AVHWFramesContext *hwfc, VulkanExecCtx *cmd)
|
Loading…
Reference in New Issue
Block a user