diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-03-21 07:26:42 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-03-28 09:42:44 +0200 |
commit | fa936a307f5cddfc2664600157a8207ca8080af6 (patch) | |
tree | 76c4260d30ab8f90982db548fd7a8300a17eb28a /libavcodec/hevc.c | |
parent | cdb1665f70def544ddab3e3ed3763ef99c8b3873 (diff) | |
download | ffmpeg-fa936a307f5cddfc2664600157a8207ca8080af6.tar.gz |
hevc_parse: rename into h2645_parse
This code will be shared with h264.
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r-- | libavcodec/hevc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index a5a525a6df..69c4f26aa6 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -2429,7 +2429,7 @@ fail: return ret; } -static int decode_nal_unit(HEVCContext *s, const HEVCNAL *nal) +static int decode_nal_unit(HEVCContext *s, const H2645NAL *nal) { HEVCLocalContext *lc = &s->HEVClc; GetBitContext *gb = &lc->gb; @@ -2581,8 +2581,8 @@ 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->pkt, buf, length, s->avctx, s->is_nalff, - s->nal_length_size); + ret = ff_h2645_packet_split(&s->pkt, buf, length, s->avctx, s->is_nalff, + s->nal_length_size); if (ret < 0) { av_log(s->avctx, AV_LOG_ERROR, "Error splitting the input into NAL units.\n"); |