---
libavcodec/setts_bsf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/setts_bsf.c b/libavcodec/setts_bsf.c
index 3c666b5061..fadf63bc54 100644
--- a/libavcodec/setts_bsf.c
+++ b/libavcodec/setts_bsf.c
@@ -244,6 +244,8 @@ static void setts_close(AVBSFContext *bsf)
s->pts_expr = NULL;
av_expr_free(s->dts_expr);
s->dts_expr = NULL;
+ av_expr_free(s->duration_expr);
+ s->duration_expr = NULL;
}
#define OFFSET(x) offsetof(SetTSContext, x)
--
2.31.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".