[Bug 261302] multimedia/ffmpeg: update to 5.1.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 14 Jan 2023 15:20:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261302

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #239461|0                           |1
        is obsolete|                            |

--- Comment #32 from Jan Beich <jbeich@FreeBSD.org> ---
Created attachment 239469
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239469&action=edit
v2.6 (apply via "git am")

Unbreak VULKAN=on (now default) after ports 93b836bc9e65

libavutil/hwcontext_vulkan.c:364:7: error: use of undeclared identifier
'VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME'
    { VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME,                FF_VK_EXT_NO_FLAG
               },
      ^
libavutil/hwcontext_vulkan.c:469:29: error: invalid application of 'sizeof' to
an incomplete type 'const VulkanOptExtension[]' (aka 'const struct
VulkanOptExtension[]')
        optional_exts_num = FF_ARRAY_ELEMS(optional_device_exts);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavutil/macros.h:53:34: note: expanded from macro 'FF_ARRAY_ELEMS'
#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
                                 ^~~
libavutil/hwcontext_vulkan.c:1444:29: error: invalid application of 'sizeof' to
an incomplete type 'const VulkanOptExtension[]' (aka 'const struct
VulkanOptExtension[]')
        for (int j = 0; j < FF_ARRAY_ELEMS(optional_device_exts); j++) {
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavutil/macros.h:53:34: note: expanded from macro 'FF_ARRAY_ELEMS'
#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
                                 ^~~
4 errors generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.