#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
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac

Reply via email to