From 410905f7fd0d7f3274f3260aa508dc50e174105b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 8 May 2013 23:42:23 +0200 Subject: [PATCH] ffmpeg: use av_freep() for forced_kf_pts Signed-off-by: Michael Niedermayer --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 33152c1059..1f61d29fbb 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -3259,7 +3259,7 @@ static int transcode(void) ost->logfile = NULL; } av_freep(&ost->st->codec->subtitle_header); - av_free(ost->forced_kf_pts); + av_freep(&ost->forced_kf_pts); av_dict_free(&ost->opts); av_dict_free(&ost->swr_opts); av_dict_free(&ost->resample_opts);