summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2013-03-20 11:12:20 +0100
committerNicolas George <nicolas.george@normalesup.org>2013-03-20 21:13:55 +0100
commit6a90f6d7891b0c062da223b9c135304c5fd8dd95 (patch)
tree31a4b83294504b6fd5882f4e59e48ad3c0a44f5d /ffmpeg.c
parent21b092de7c1e2d7fae24ceca3aa2f8f9f1730cfc (diff)
downloadffmpeg-6a90f6d7891b0c062da223b9c135304c5fd8dd95.tar.gz
ffmpeg: fix freeing of sub2video frame.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
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]);
}