summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_parser.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-05-04 18:26:06 -0300
committerJames Almer <jamrial@gmail.com>2016-05-04 18:26:06 -0300
commitfc1c836def0859d23c7d258d177f69798120d773 (patch)
treea43c4a16696828e3ce9436f0afbb41ea898003d6 /libavcodec/hevc_parser.c
parent03e8c1b84398349a65f90cf7052cedad0f7acb5a (diff)
avcodec/hevc_parser: fix packet_split function name
Fixes compilation of hevc_parser without hevc_decoder Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/hevc_parser.c')
-rw-r--r--libavcodec/hevc_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c
index f4b65b58ad..1227358b9d 100644
--- a/libavcodec/hevc_parser.c
+++ b/libavcodec/hevc_parser.c
@@ -89,7 +89,7 @@ static int parse_nal_units(AVCodecParserContext *s, const uint8_t *buf,
HEVCParserContext *ctx = s->priv_data;
int ret, i;
- ret = ff_h2645_split_packet(&ctx->pkt, buf, buf_size, avctx, 0, 0,
+ ret = ff_h2645_packet_split(&ctx->pkt, buf, buf_size, avctx, 0, 0,
AV_CODEC_ID_HEVC);
if (ret < 0)
return ret;