[FFmpeg-trac] #6767(avformat:new): "libavformat: not treat 0 as EOF" commit breaks seeking in mpv

FFmpeg trac at avcodec.org
Mon Oct 23 13:09:02 EEST 2017


#6767: "libavformat: not treat 0 as EOF" commit breaks seeking in mpv
----------------------------------+--------------------------------------
             Reporter:  sfan5     |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 test case as requested [http://ffmpeg.org/pipermail/ffmpeg-
 devel/2017-October/218355.html here]:

 ffmpeg version N-87938-g858db4b01f

 How to reproduce:
 * build mpv that links with the specified ffmpeg revision
 * play '''any''' flac file and seek anywhere as soon as playback starts
 * observe how mpv freezes

 this does not happen prior to that ffmpeg revision (e.g. f4090940 is fine)

 attached gdb log (+stacktraces) shows that av_seek_frame() never returns
 control to mpv's demuxer thread

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


More information about the FFmpeg-trac mailing list