diff options
author | Franklin Phillips <franklinphillips9p8@inbox.lv> | 2016-09-02 20:20:21 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-09-05 08:52:28 +0200 |
commit | cefce6e2c1e3b94bc6f41b96dbdfa4919e8c29d7 (patch) | |
tree | 335ed3cf183988f7bc310f0cf17d77d1e02964e7 /libavcodec/mjpegdec.c | |
parent | 443c9fab57fababd864dc13f7bdc16b330cbd481 (diff) | |
download | ffmpeg-cefce6e2c1e3b94bc6f41b96dbdfa4919e8c29d7.tar.gz |
avformat/hlsenc: fix incomplete write of subtitle HLS playlist
This patch is a fix for the bug with ticket number 5812
(https://trac.ffmpeg.org/ticket/5812).
Basically, the bug is that the last segment and the "#EXT-X-ENDLIST"
tag are not being written to the subtitle playlist file when
converting a file with subtitles to the HLS format. The reason for
this seem to be that the filename for the subtitle file is being freed
too early. This solution is simply to free that memory after it's last
use in the "hls_window" function.
Signed-off-by: Franklin Phillips <franklinphillips9p8@inbox.lv>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mjpegdec.c')
0 files changed, 0 insertions, 0 deletions