[FFmpeg-devel] [PATCH 1/2] ffmpeg: fix freeing of sub2video frame.
Nicolas George
nicolas.george at normalesup.org
Wed Mar 20 11:15:07 CET 2013
Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
ffmpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 67e2de1..12c7a28 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]);
}
--
1.7.10.4
More information about the ffmpeg-devel
mailing list