[FFmpeg-trac] #4802(avformat:new): Non atomic generation of m3u8 file

FFmpeg trac at avcodec.org
Tue Aug 25 16:19:39 CEST 2015


#4802: Non atomic generation of m3u8 file
-------------------------------------+-------------------------------------
             Reporter:  mguesdon     |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:  avformat     |                  Version:  git-
             Keywords:  atomic       |  master
  write m3u8                         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Generation of m3u8 file in libavformat/segment.c is not atomic so one may
 get a partial m3u8 file when reading it.
 In libavformat/hlsenc.c the operation is atomic (write to tmp file and
 next rename).

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4802>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list