diff mbox series

[FFmpeg-devel] avcodec/cbs_h265: fix undef SEI_TYPE_X

Message ID 20201231015519.27343-1-nuomi2021@gmail.com
State New
Headers show
Series [FFmpeg-devel] avcodec/cbs_h265: fix undef SEI_TYPE_X
Related show

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 Dec. 31, 2020, 1:55 a.m. UTC
---
 libavcodec/cbs_h265_syntax_template.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
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