diff options
author | James Almer <jamrial@gmail.com> | 2023-06-15 11:03:51 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-06-17 10:08:54 -0300 |
commit | 44f26315c82b03988b4867b05cbfdba01627ca58 (patch) | |
tree | 2a1b7d770975c89f478b8b536400575fabb8ca4c /libavcodec/evc_parse.h | |
parent | 57879b23bc77013ac6832d19b62203975718f557 (diff) | |
download | ffmpeg-44f26315c82b03988b4867b05cbfdba01627ca58.tar.gz |
avcodec/evc_parse: use a local EVCParserSliceHeader when parsing slices
There's no need to store EVC_MAX_PPS_COUNT amount of slice headers in EVCParserContext.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/evc_parse.h')
-rw-r--r-- | libavcodec/evc_parse.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/evc_parse.h b/libavcodec/evc_parse.h index d74a3b5159..1c1b8ec093 100644 --- a/libavcodec/evc_parse.h +++ b/libavcodec/evc_parse.h @@ -261,7 +261,6 @@ typedef struct EVCParserContext { //ParseContext pc; EVCParserSPS *sps[EVC_MAX_SPS_COUNT]; EVCParserPPS *pps[EVC_MAX_PPS_COUNT]; - EVCParserSliceHeader *slice_header[EVC_MAX_PPS_COUNT]; EVCParserPoc poc; @@ -349,9 +348,6 @@ EVCParserSPS *ff_evc_parse_sps(EVCParserContext *ctx, const uint8_t *bs, int bs_ // @see ISO_IEC_23094-1 (7.3.2.2 SPS RBSP syntax) EVCParserPPS *ff_evc_parse_pps(EVCParserContext *ctx, const uint8_t *bs, int bs_size); -// @see ISO_IEC_23094-1 (7.3.2.6 Slice layer RBSP syntax) -EVCParserSliceHeader *ff_evc_parse_slice_header(EVCParserContext *ctx, const uint8_t *bs, int bs_size); - int ff_evc_parse_nal_unit(EVCParserContext *ctx, const uint8_t *buf, int buf_size, void *logctx); #endif /* AVCODEC_EVC_PARSE_H */ |