OpenVisualCloud / SVT-HEVC

SVT HEVC encoder. Scalable Video Technology (SVT) is a software-based video coding technology that is highly optimized for Intel® Xeon® processors. Using the open source SVT-HEVC encoder, it is possible to spread video encoding processing across multiple Intel® Xeon® processors to achieve a real advantage of processing efficiency.
Other
518 stars 170 forks source link

Fix static analysis warning #565

Closed tianjunwork closed 4 years ago

tianjunwork commented 4 years ago

Signed-off-by: Jun Tian tianjun1.0@gmail.com

Description

Address the rest static analysis warnings: Unvalidated integer value '...?y1:y2' that is received from 'fscanf' at line 987 is used as an operand to a binary operator at line 999. Unvalidated integer value '((x1) > (x2) ? (x1) : (x2)) + 64' that is received from 'fscanf' at line 987 is used as an operand to a binary operator at line 996. Also there is one similar error on line 996. Unvalidated integer value '...?x1:x2' that is received from 'fscanf' at line 987 is used as an operand to a binary operator at line 996. Also there is one similar error on line 996. Unvalidated integer value '((y1) > (y2) ? (y1) : (y2)) + 64' that is received from 'fscanf' at line 987 is used as an operand to a binary operator at line 999. Also there is one similar error on line 999.

Issue

Author(s)

@tianjunwork

Performance impact

Merge method