Opened 5 weeks ago

#6741 new defect

ffmpeg-3.4/libavfilter/vf_cover_rect.c:155: suspicious if ?

Reported by: dcb Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

ffmpeg-3.4/libavfilter/vf_cover_rect.c:155] -> [ffmpeg-3.4/libavfilter/vf_cover_rect.c:155]: (style) Same expression on both sides of '
'.

Source code is

if (!xendptr
*xendptr !yendptr *yendptr
!wendptr
*wendptr !hendptr !hendptr

maybe better code

if (!xendptr
*xendptr !yendptr *yendptr
!wendptr
*wendptr !hendptr !*hendptr

Change History (0)

Note: See TracTickets for help on using tickets.