avcodec/hevc_sei: Use proper type for NALU type

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-07-02 21:15:51 +02:00
parent 6f5e0a7294
commit aba0cc4465
2 changed files with 3 additions and 2 deletions

View file

@ -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, 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; GetByteContext gbyte;
int ret; int ret;

View file

@ -26,6 +26,7 @@
#include "libavutil/buffer.h" #include "libavutil/buffer.h"
#include "get_bits.h" #include "get_bits.h"
#include "hevc.h"
#include "sei.h" #include "sei.h"
@ -154,7 +155,7 @@ typedef struct HEVCSEI {
struct HEVCParamSets; struct HEVCParamSets;
int ff_hevc_decode_nal_sei(GetBitContext *gb, void *logctx, HEVCSEI *s, 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. * Reset SEI values that are stored on the Context.