[FFmpeg-cvslog] avcodec/hevc_sei: Use proper type for NALU type
Andreas Rheinhardt
git at videolan.org
Sat Jul 9 21:41:34 EEST 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Jul 2 21:15:51 2022 +0200| [aba0cc44656be6ee283349713ac888501ca597ba] | committer: Andreas Rheinhardt
avcodec/hevc_sei: Use proper type for NALU type
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aba0cc44656be6ee283349713ac888501ca597ba
---
libavcodec/hevc_sei.c | 2 +-
libavcodec/hevc_sei.h | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c
index 953633f4bd..631373e06f 100644
--- a/libavcodec/hevc_sei.c
+++ b/libavcodec/hevc_sei.c
@@ -550,7 +550,7 @@ static int decode_nal_sei_message(GetByteContext *gb, void *logctx, HEVCSEI *s,
}
int ff_hevc_decode_nal_sei(GetBitContext *gb, void *logctx, HEVCSEI *s,
- const HEVCParamSets *ps, int type)
+ const HEVCParamSets *ps, enum HEVCNALUnitType type)
{
GetByteContext gbyte;
int ret;
diff --git a/libavcodec/hevc_sei.h b/libavcodec/hevc_sei.h
index f198402333..ef987f6781 100644
--- a/libavcodec/hevc_sei.h
+++ b/libavcodec/hevc_sei.h
@@ -26,6 +26,7 @@
#include "libavutil/buffer.h"
#include "get_bits.h"
+#include "hevc.h"
#include "sei.h"
@@ -154,7 +155,7 @@ typedef struct HEVCSEI {
struct HEVCParamSets;
int ff_hevc_decode_nal_sei(GetBitContext *gb, void *logctx, HEVCSEI *s,
- const struct HEVCParamSets *ps, int type);
+ const struct HEVCParamSets *ps, enum HEVCNALUnitType type);
/**
* Reset SEI values that are stored on the Context.
More information about the ffmpeg-cvslog
mailing list