You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/setts_bsf: fix memleak
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user