ffmpeg: use av_freep() for forced_kf_pts
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 8 May 2013 21:42:23 +0000 (23:42 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 8 May 2013 21:55:06 +0000 (23:55 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index 33152c1..1f61d29 100644 (file)
--- 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);