diff mbox series

[FFmpeg-devel,v3,05/11] avcodec/cbs_h265: fix undef SEI_TYPE_X

Message ID 20210111163319.13387-6-nuomi2021@gmail.com
State Accepted
Headers show
Series add vvc raw demuxer, muxer, parser, metadata bsf | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Nuo Mi Jan. 11, 2021, 4:33 p.m. UTC
---
 libavcodec/cbs_h265_syntax_template.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

James Almer Jan. 11, 2021, 8:32 p.m. UTC | #1
On 1/11/2021 1:33 PM, Nuo Mi wrote:
> ---
>   libavcodec/cbs_h265_syntax_template.c | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/libavcodec/cbs_h265_syntax_template.c b/libavcodec/cbs_h265_syntax_template.c
> index 48fae82d04..c0e94683a2 100644
> --- a/libavcodec/cbs_h265_syntax_template.c
> +++ b/libavcodec/cbs_h265_syntax_template.c
> @@ -2197,7 +2197,9 @@ static int FUNC(sei_payload)(CodedBitstreamContext *ctx, RWContext *rw,
>                                                1, 0, alternative_transfer_characteristics);
>           SEI_TYPE_N(ALPHA_CHANNEL_INFO,       1, 0, alpha_channel_info);
>   
> -#undef SEI_TYPE
> +#undef SEI_TYPE_N
> +#undef SEI_TYPE_S
> +#undef SEI_TYPE_E
>       default:
>           {
>   #ifdef READ

Applied.
diff mbox series

Patch

diff --git a/libavcodec/cbs_h265_syntax_template.c b/libavcodec/cbs_h265_syntax_template.c
index 48fae82d04..c0e94683a2 100644
--- a/libavcodec/cbs_h265_syntax_template.c
+++ b/libavcodec/cbs_h265_syntax_template.c
@@ -2197,7 +2197,9 @@  static int FUNC(sei_payload)(CodedBitstreamContext *ctx, RWContext *rw,
                                              1, 0, alternative_transfer_characteristics);
         SEI_TYPE_N(ALPHA_CHANNEL_INFO,       1, 0, alpha_channel_info);
 
-#undef SEI_TYPE
+#undef SEI_TYPE_N
+#undef SEI_TYPE_S
+#undef SEI_TYPE_E
     default:
         {
 #ifdef READ