[FFmpeg-trac] #6754(avfilter:reopened): libavfilter/signature_lookup.c:494: suspicious compare ?

FFmpeg trac at avcodec.org
Sun Nov 3 21:42:33 EET 2019


#6754: libavfilter/signature_lookup.c:494: suspicious compare ?
-------------------------------------+------------------------------------
             Reporter:  dcb          |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:  avfilter
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by Balling):

 Replying to [comment:5 cehoyos]:
 Suspecious? Really? Now it never become 0, so mode is never checked.
 "Result of operator '|' is always true if one operand is non-zero." And ==
 have higher precedence. In this case STATUS_BEGIN_REACHED is 2. So...

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


More information about the FFmpeg-trac mailing list