[FFmpeg-cvslog] ffmpeg: use av_freep() for forced_kf_pts

Michael Niedermayer git at videolan.org
Thu May 9 00:03:52 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May  8 23:42:23 2013 +0200| [410905f7fd0d7f3274f3260aa508dc50e174105b] | committer: Michael Niedermayer

ffmpeg: use av_freep() for forced_kf_pts

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=410905f7fd0d7f3274f3260aa508dc50e174105b
---

 ffmpeg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 33152c1..1f61d29 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);



More information about the ffmpeg-cvslog mailing list