[FFmpeg-trac] #6744(avcodec:new): libavcodec/x86/snowdsp.c: 2 * array index sanity check in odd place ?

FFmpeg trac at avcodec.org
Wed Oct 18 00:35:23 EEST 2017


#6744: libavcodec/x86/snowdsp.c: 2 * array index sanity check in odd place ?
-------------------------------------+-----------------------------------
             Reporter:  dcb          |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by jkqxz):

 Looks correct to me?  The conditions are in that order because in
 nondegenerate cases it is always the first one which terminates the loop.
 (You can only hit the second condition with tiny width.)

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


More information about the FFmpeg-trac mailing list