summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-03-21 09:00:40 +0100
committerAnton Khirnov <anton@khirnov.net>2016-03-28 09:45:04 +0200
commitb667252a41fbf5a3f6ea8c67fdbc03db3d748977 (patch)
tree74969854afe80e07011090a012ce41bdfd9b9f03 /libavcodec/hevc.c
parent52ec149fbee57b6ca817049c9706212a0774a32c (diff)
h2645_parse: add support for parsing h264
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r--libavcodec/hevc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 72dea5a589..3bc730a68e 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -2582,7 +2582,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_h2645_packet_split(&s->pkt, buf, length, s->avctx, s->is_nalff,
- s->nal_length_size);
+ s->nal_length_size, s->avctx->codec_id);
if (ret < 0) {
av_log(s->avctx, AV_LOG_ERROR,
"Error splitting the input into NAL units.\n");