From 6a90f6d7891b0c062da223b9c135304c5fd8dd95 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Wed, 20 Mar 2013 11:12:20 +0100 Subject: [PATCH] ffmpeg: fix freeing of sub2video frame. --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 67e2de18f2..12c7a2891f 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -482,7 +482,7 @@ static void exit_program(void) av_frame_free(&input_streams[i]->filter_frame); av_dict_free(&input_streams[i]->opts); avsubtitle_free(&input_streams[i]->prev_sub.subtitle); - avcodec_free_frame(&input_streams[i]->sub2video.frame); + av_frame_free(&input_streams[i]->sub2video.frame); av_freep(&input_streams[i]->filters); av_freep(&input_streams[i]); }