[FFmpeg-devel] [PATCH 04/20] avcodec/sei: Add tag to SEI enumeration

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Jul 3 01:21:44 EEST 2022


This makes it a usable type.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/sei.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/sei.h b/libavcodec/sei.h
index 5513590b51..f13c37c308 100644
--- a/libavcodec/sei.h
+++ b/libavcodec/sei.h
@@ -26,7 +26,7 @@
 // The content of the payload data depends on the standard, though
 // many generic parts have the same interpretation everywhere (such as
 // mastering-display-colour-volume and user-data-unregistered).
-enum {
+enum SEIType {
     SEI_TYPE_BUFFERING_PERIOD                            = 0,
     SEI_TYPE_PIC_TIMING                                  = 1,
     SEI_TYPE_PAN_SCAN_RECT                               = 2,
-- 
2.34.1



More information about the ffmpeg-devel mailing list