[FFmpeg-trac] #3575(avformat:closed): FFMPEG Fails with an Assert

FFmpeg trac at avcodec.org
Fri Apr 25 10:33:31 CEST 2014


#3575: FFMPEG Fails with an Assert
-------------------------------------+-------------------------------------
             Reporter:  ramitbhalla  |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:  fixed
             Keywords:  mov crash    |               Blocked By:
  abort regression                   |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Cigaes):

 Asserts in code are properties that the programmer expects to be always
 true. When they fail, that means something ''is'' wrong. Just removing
 them is ''never'' a correct solution: you may be producing invalid results
 (and “playsback fine with WMP” is no proof that the result is valid),
 allowing a more complex crash later or even creating a security issue. To
 fix an assert failure, you have to understand ''what'' went wrong and why,
 and fix it.

 (Of course, sometimes the assert is really completely wrong, and the
 correct solution is to remove it, but only after understanding why; that
 is not ''just'' removing it.)

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


More information about the FFmpeg-trac mailing list