[FFmpeg-trac] #5610(avformat:new): FFmpeg Libraries Seek Wildly On Opening W64-Format Files Via VIO

FFmpeg trac at avcodec.org
Sat Jun 11 02:20:16 CEST 2016


#5610: FFmpeg Libraries Seek Wildly On Opening W64-Format Files Via VIO
-------------------------------------+-------------------------------------
             Reporter:  mocmaint     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  wav          |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by mocmaint):

 I have created a test rig for you which is available at:

     ftp://ftp.daper.net/pub/soft/moc/unstable/seek-test.c.gz

 This test rig emulates the essential behaviour of MOC and triggers the
 problem on *.w64 files (but not on others).

 Please read the comments at the start of the file on compiling and
 running, and especially on the definition of ATEOF.

 In creating this test rig, I uncovered a potential bug in MOC which causes
 it to return a non-zero value at EOF, but this does not trigger the
 problem on non-W64 files although forcing the return value to zero causes
 FFmpeg to handle W64 files correctly (or at least circumvents the seeking
 problem).

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5610#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list