Opened 5 weeks ago

#6742 new defect

ffmpeg-3.4/libavformat/nutdec.c:585: 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/libavformat/nutdec.c:585]: (style) Same expression on both sides of '
'.

Source code is

if (st->r_frame_rate.num >= 1000LL*st->r_frame_rate.den
st->r_frame_rate.num < 0
st->r_frame_rate.num < 0)

maybe better code

if (st->r_frame_rate.num >= 1000LL*st->r_frame_rate.den
st->r_frame_rate.num < 0
st->r_frame_rate.den < 0)

Change History (0)

Note: See TracTickets for help on using tickets.