avcodec/hevc_parser: fix packet_split function name
authorJames Almer <jamrial@gmail.com>
Wed, 4 May 2016 21:26:06 +0000 (18:26 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 4 May 2016 21:26:06 +0000 (18:26 -0300)
Fixes compilation of hevc_parser without hevc_decoder

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/hevc_parser.c

index f4b65b5..1227358 100644 (file)
@@ -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;