[FFmpeg-trac] #4900(avformat:new): HLS flag "delete_segments" errors
FFmpeg
trac at avcodec.org
Fri Oct 2 02:22:10 CEST 2015
#4900: HLS flag "delete_segments" errors
------------------------------------+------------------------------------
Reporter: DeHackEd | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: hls | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by DeHackEd):
When no subtitles are in use segment->sub_filename consists of
uninitialized/garbage memory. During segment deletion there is no check
for whether sub_filename is valid and it attempts to unlink() regardless.
This fails and the uninitialized memory block is also printed via av_log
for the failure.
I submitted a possible fix to the mailing list.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4900#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list