[FFmpeg-devel] [PATCH] avformat/hlsenc: fix incomplete write of subtitle HLS playlist

Michael Niedermayer michael at niedermayer.cc
Mon Sep 5 10:17:10 EEST 2016


On Fri, Sep 02, 2016 at 08:20:21PM +0100, Franklin Phillips wrote:
> 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 at inbox.lv>
> ---
>  libavformat/hlsenc.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

applied

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160905/4a6bdcff/attachment.sig>


More information about the ffmpeg-devel mailing list