diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index 24d87d0709..b1815e6d45 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -557,7 +557,7 @@ static int h264_split(AVCodecContext *avctx, return 0; } -static void close(AVCodecParserContext *s) +static void h264_close(AVCodecParserContext *s) { H264ParseContext *p = s->priv_data; H264Context *h = &p->h; @@ -582,6 +582,6 @@ AVCodecParser ff_h264_parser = { .priv_data_size = sizeof(H264ParseContext), .parser_init = init, .parser_parse = h264_parse, - .parser_close = close, + .parser_close = h264_close, .split = h264_split, };