diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c index d6102f3ab9..c72b1465f1 100644 --- a/libavcodec/hevc_parser.c +++ b/libavcodec/hevc_parser.c @@ -369,6 +369,7 @@ static void hevc_parser_close(AVCodecParserContext *s) ctx->ps.sps = NULL; ff_h2645_packet_uninit(&ctx->pkt); + ff_hevc_reset_sei(&ctx->sei); av_freep(&ctx->pc.buffer); }