[FFmpeg-trac] #7990(undetermined:new): undefined-behavior at libavcodec/snowenc.c and division by zero at libavcodec/ratecontrol.c

FFmpeg trac at avcodec.org
Thu Jul 4 08:27:13 EEST 2019


#7990: undefined-behavior at libavcodec/snowenc.c and division by zero at
libavcodec/ratecontrol.c
-------------------------------------+-------------------------------------
             Reporter:  Suhwan       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  ubsan        |               Blocked By:
  snowenc ratecontrol                |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 There're undefined-behavior at libavcodec/snowenc.c and division by zero
 at libavcodec/ratecontrol.c.

 How to reproduce:
 {{{
 % ffmpeg_g  -y -r 51 -i tmp.avi -map 0 -c:v snow -c:v:82 sgi
 -disposition:a msvideo1 -disposition:s:13 g726 -r 2 -ab 841k -ar 22050 -ac
 5 -strict 1 tmp_.adx

 ffmpeg version : N-94163-g664a27ea40
 built with clang version 9.0.0
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

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


More information about the FFmpeg-trac mailing list