Commit 6a90f6d7 authored by Nicolas George's avatar Nicolas George

ffmpeg: fix freeing of sub2video frame.

parent 21b092de
...@@ -482,7 +482,7 @@ static void exit_program(void) ...@@ -482,7 +482,7 @@ static void exit_program(void)
av_frame_free(&input_streams[i]->filter_frame); av_frame_free(&input_streams[i]->filter_frame);
av_dict_free(&input_streams[i]->opts); av_dict_free(&input_streams[i]->opts);
avsubtitle_free(&input_streams[i]->prev_sub.subtitle); 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]->filters);
av_freep(&input_streams[i]); av_freep(&input_streams[i]);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment