[FFmpeg-trac] #9458(ffmpeg:closed): ffmpeg's outputs differ a lot when compiled with gcc and clang

FFmpeg trac at avcodec.org
Sun Oct 17 18:28:10 EEST 2021


#9458: ffmpeg's outputs differ a lot when compiled with gcc and clang
------------------------------------+-----------------------------------
             Reporter:  Shaohua Li  |                    Owner:  (none)
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  ffmpeg
              Version:  git-master  |               Resolution:  invalid
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Comment (by Shaohua Li):

 You might have misunderstood me. This is not a compiler issue. This
 unstable results are probably because of some issues in ffmpeg, for
 example, undefined behaviours.  For this specific test case, if you
 compile ffmpeg with clang13 but with different optimisation flags (e.g.,
 -O0 and -Os), the outputs would still be different (you may need to run it
 multiple times to observe the difference).
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9458#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list