X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fhevc.c;h=cb1263cb431cbfc9af982bd97be8debc80e8d2a5;hb=e3842e87f2f03f8e2053cd4f5b7354e0274c2110;hp=b478065db2b8da7c41adcb7a1cdfc5139377c3a1;hpb=def850676625417d27176a458787545330ab9427;p=ffmpeg diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index b478065db2b..cb1263cb431 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -2867,7 +2867,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->avctx->codec_id); + s->nal_length_size, s->avctx->codec_id, 1); if (ret < 0) { av_log(s->avctx, AV_LOG_ERROR, "Error splitting the input into NAL units.\n");