From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] lavc: Replace 181 magic number with ITU_T_T35_COUNTRY_CODE_US
Date: Tue, 4 Mar 2025 23:57:14 +0100
Message-ID: <20250304225714.GQ4991@pb2> (raw)
In-Reply-To: <3a06e808d0d2b4949a8cb61b7c1c99c72348af00.camel@haerdin.se>
[-- Attachment #1.1: Type: text/plain, Size: 5268 bytes --]
On Tue, Mar 04, 2025 at 10:12:40AM +0100, Tomas Härdin wrote:
[...]
> atsc_a53.c | 2 +-
> vaapi_encode_h264.c | 18 ++++++++----------
> vaapi_encode_h265.c | 21 +++++++++------------
> vulkan_encode_h264.c | 17 +++++++----------
> vulkan_encode_h265.c | 15 ++++++---------
> 5 files changed, 31 insertions(+), 42 deletions(-)
> a03eaa9f20ddb526f7aaaa1c79b7bb5fdc01c86c 0002-lavc-Sort-some-includes.patch
> From b9dacc4d5d01f059cb6ec886d278f6126245b1f5 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
> Date: Tue, 4 Mar 2025 10:10:27 +0100
> Subject: [PATCH 2/2] lavc: Sort some includes
>
> ---
> libavcodec/atsc_a53.c | 2 +-
> libavcodec/vaapi_encode_h264.c | 18 ++++++++----------
> libavcodec/vaapi_encode_h265.c | 21 +++++++++------------
> libavcodec/vulkan_encode_h264.c | 17 +++++++----------
> libavcodec/vulkan_encode_h265.c | 15 ++++++---------
> 5 files changed, 31 insertions(+), 42 deletions(-)
this breaks build
In file included from libavcodec/vaapi_encode_h265.c:20:
/usr/include/va/va_enc_hevc.h:91:35: error: ‘VAEncPackedHeaderSequence’ undeclared here (not in a function)
91 | VAEncPackedHeaderHEVC_VPS = VAEncPackedHeaderSequence,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/va/va_enc_hevc.h:109:35: error: ‘VAEncPackedHeaderPicture’ undeclared here (not in a function); did you mean ‘VAEncPackedHeaderHEVC_SPS’?
109 | VAEncPackedHeaderHEVC_PPS = VAEncPackedHeaderPicture,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| VAEncPackedHeaderHEVC_SPS
/usr/include/va/va_enc_hevc.h:122:35: error: ‘VAEncPackedHeaderSlice’ undeclared here (not in a function); did you mean ‘VAEncPackedHeaderHEVC_PPS’?
122 | VAEncPackedHeaderHEVC_Slice = VAEncPackedHeaderSlice,
| ^~~~~~~~~~~~~~~~~~~~~~
| VAEncPackedHeaderHEVC_PPS
/usr/include/va/va_enc_hevc.h:137:32: error: expected ‘,’ or ‘}’ before ‘va_deprecated_enum’
137 | VAEncPackedHeaderHEVC_SEI va_deprecated_enum = (0x80000000 | 1),
| ^~~~~~~~~~~~~~~~~~
/usr/include/va/va_enc_hevc.h:331:41: error: ‘VA_PADDING_MEDIUM’ undeclared here (not in a function)
331 | uint32_t va_reserved[VA_PADDING_MEDIUM];
| ^~~~~~~~~~~~~~~~~
/usr/include/va/va_enc_hevc.h:368:5: error: unknown type name ‘VAPictureHEVC’
368 | VAPictureHEVC decoded_curr_pic;
| ^~~~~~~~~~~~~
/usr/include/va/va_enc_hevc.h:377:5: error: unknown type name ‘VAPictureHEVC’
377 | VAPictureHEVC reference_frames[15];
| ^~~~~~~~~~~~~
/usr/include/va/va_enc_hevc.h:385:5: error: unknown type name ‘VABufferID’
385 | VABufferID coded_buf;
| ^~~~~~~~~~
/usr/include/va/va_enc_hevc.h:543:41: error: ‘VA_PADDING_HIGH’ undeclared here (not in a function)
543 | uint32_t va_reserved[VA_PADDING_HIGH - 1];
| ^~~~~~~~~~~~~~~
/usr/include/va/va_enc_hevc.h:585:5: error: unknown type name ‘VAPictureHEVC’
585 | VAPictureHEVC ref_pic_list0[15];
| ^~~~~~~~~~~~~
/usr/include/va/va_enc_hevc.h:587:5: error: unknown type name ‘VAPictureHEVC’
587 | VAPictureHEVC ref_pic_list1[15];
| ^~~~~~~~~~~~~
/usr/include/va/va_enc_hevc.h:727:41: error: ‘VA_PADDING_LOW’ undeclared here (not in a function)
727 | uint32_t va_reserved[VA_PADDING_LOW];
| ^~~~~~~~~~~~~~
...
libavcodec/vaapi_encode_h264.c: In function ‘vaapi_encode_h264_init_slice_params’:
libavcodec/vaapi_encode_h264.c:847:31: error: request for member ‘picture_id’ in something not a structure or union
847 | vslice->RefPicList0[i].picture_id = VA_INVALID_ID;
| ^
libavcodec/vaapi_encode_h264.c:848:31: error: request for member ‘flags’ in something not a structure or union
848 | vslice->RefPicList0[i].flags = VA_PICTURE_H264_INVALID;
| ^
libavcodec/vaapi_encode_h264.c:849:31: error: request for member ‘picture_id’ in something not a structure or union
849 | vslice->RefPicList1[i].picture_id = VA_INVALID_ID;
| ^
libavcodec/vaapi_encode_h264.c:850:31: error: request for member ‘flags’ in something not a structure or union
850 | vslice->RefPicList1[i].flags = VA_PICTURE_H264_INVALID;
| ^
make: *** [ffbuild/common.mak:81: libavcodec/vaapi_encode_h265.o] Error 1
make: *** [ffbuild/common.mak:81: libavcodec/vaapi_encode_h264.o] Error 1
make: Target 'all' not remade because of errors.
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2025-03-04 22:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-03 12:25 Tomas Härdin
2025-03-03 13:12 ` Andreas Rheinhardt
2025-03-04 9:12 ` Tomas Härdin
2025-03-04 11:31 ` Andreas Rheinhardt
2025-03-04 22:57 ` Michael Niedermayer [this message]
2025-03-03 13:55 ` Devin Heitmueller
2025-03-04 9:01 ` Tomas Härdin
2025-03-04 15:13 ` Devin Heitmueller
2025-03-04 23:13 ` Marth64
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250304225714.GQ4991@pb2 \
--to=michael@niedermayer.cc \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git