diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-04-25 14:40:33 +0100 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-04-25 14:40:33 +0100 |
commit | 4791a910c0dc3dd5861d38202457c9fb9bf1154c (patch) | |
tree | 0f73ac0086bf57db5e3ea48e2457a4a533d96017 /libavcodec/hevc.c | |
parent | 9ac154d1facd4756db6918f866dccf3e3ffb698c (diff) | |
download | ffmpeg-4791a910c0dc3dd5861d38202457c9fb9bf1154c.tar.gz |
lavc/hevc_parse: Don't take a HEVCContext
It's not even used anymore, and the checks are no longer
functionally important.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r-- | libavcodec/hevc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 0d53a33d53..785aa7e604 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -2866,7 +2866,7 @@ static int decode_nal_units(HEVCContext *s, const uint8_t *buf, int length) /* split the input packet into NAL units, so we know the upper bound on the * number of slices in the frame */ - ret = ff_hevc_split_packet(s, &s->pkt, buf, length, s->avctx, s->is_nalff, + ret = ff_hevc_split_packet(&s->pkt, buf, length, s->avctx, s->is_nalff, s->nal_length_size); if (ret < 0) { av_log(s->avctx, AV_LOG_ERROR, |