2022-07-02 04:47 ftp://ftp.de.debian.org/debian/pool/main/x/xvidcore/xvidcore_1.3.7.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j1 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 596f75e (2022-07-01 10:48:32 +0200) count: 135 128 elapsed-time: 146.8 210.4 head-timing-info: Tokenizer::simplifyTokens1: 146.259s (avg. 11.2507s - 13 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 145.905s (avg. 11.2235s - 13 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.216295s (avg. 0.0166381s - 13 result(s)) Tokenizer::createTokens: 0.074159s (avg. 0.00115873s - 64 result(s)) Other::runChecks: 0.043409s (avg. 0.00333915s - 13 result(s)) Overall time: 292.699s old-timing-info: Tokenizer::simplifyTokens1: 209.889s (avg. 16.1453s - 13 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 209.516s (avg. 16.1166s - 13 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.233267s (avg. 0.0179436s - 13 result(s)) Tokenizer::createTokens: 0.069907s (avg. 0.0010923s - 64 result(s)) Other::runChecks: 0.051401s (avg. 0.00395392s - 13 result(s)) Overall time: 419.963s head results: xvidcore/dshow/src/CAbout.cpp:43:52: style:inconclusive: Function 'CreateInstance' argument 1 names different: declaration 'lpunk' definition 'punk'. [funcArgNamesDifferent] xvidcore/dshow/src/CAbout.h:39:52: note: Function 'CreateInstance' argument 1 names different: declaration 'lpunk' definition 'punk'. xvidcore/dshow/src/CAbout.cpp:43:52: note: Function 'CreateInstance' argument 1 names different: declaration 'lpunk' definition 'punk'. xvidcore/dshow/src/CXvidDecoder.cpp:290:23: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:295:29: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:378:21: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:386:21: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:572:27: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:577:29: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:586:30: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:613:27: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:716:28: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:743:27: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:857:27: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:865:29: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:1164:34: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:1263:23: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:1283:19: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:705:40: style:inconclusive: Function 'GetMediaType' argument 1 names different: declaration 'iPos' definition 'iPosition'. [funcArgNamesDifferent] xvidcore/dshow/src/CXvidDecoder.h:117:27: note: Function 'GetMediaType' argument 1 names different: declaration 'iPos' definition 'iPosition'. xvidcore/dshow/src/CXvidDecoder.cpp:705:40: note: Function 'GetMediaType' argument 1 names different: declaration 'iPos' definition 'iPosition'. xvidcore/dshow/src/CXvidDecoder.cpp:705:63: style:inconclusive: Function 'GetMediaType' argument 2 names different: declaration 'pmt' definition 'mtOut'. [funcArgNamesDifferent] xvidcore/dshow/src/CXvidDecoder.h:117:46: note: Function 'GetMediaType' argument 2 names different: declaration 'pmt' definition 'mtOut'. xvidcore/dshow/src/CXvidDecoder.cpp:705:63: note: Function 'GetMediaType' argument 2 names different: declaration 'pmt' definition 'mtOut'. xvidcore/dshow/src/CXvidDecoder.cpp:1019:50: style:inconclusive: Function 'BreakConnect' argument 1 names different: declaration 'dir' definition 'direction'. [funcArgNamesDifferent] xvidcore/dshow/src/CXvidDecoder.h:114:37: note: Function 'BreakConnect' argument 1 names different: declaration 'dir' definition 'direction'. xvidcore/dshow/src/CXvidDecoder.cpp:1019:50: note: Function 'BreakConnect' argument 1 names different: declaration 'dir' definition 'direction'. xvidcore/dshow/src/CXvidDecoder.cpp:1028:55: style:inconclusive: Function 'DecideBufferSize' argument 1 names different: declaration 'pima' definition 'pAlloc'. [funcArgNamesDifferent] xvidcore/dshow/src/CXvidDecoder.h:121:43: note: Function 'DecideBufferSize' argument 1 names different: declaration 'pima' definition 'pAlloc'. xvidcore/dshow/src/CXvidDecoder.cpp:1028:55: note: Function 'DecideBufferSize' argument 1 names different: declaration 'pima' definition 'pAlloc'. xvidcore/dshow/src/CXvidDecoder.cpp:1028:85: style:inconclusive: Function 'DecideBufferSize' argument 2 names different: declaration 'pProperties' definition 'ppropInputRequest'. [funcArgNamesDifferent] xvidcore/dshow/src/CXvidDecoder.h:121:72: note: Function 'DecideBufferSize' argument 2 names different: declaration 'pProperties' definition 'ppropInputRequest'. xvidcore/dshow/src/CXvidDecoder.cpp:1028:85: note: Function 'DecideBufferSize' argument 2 names different: declaration 'pProperties' definition 'ppropInputRequest'. xvidcore/dshow/src/config.c:118:32: style:inconclusive: Function 'adv_proc' argument 1 names different: declaration 'hDlg' definition 'hwnd'. [funcArgNamesDifferent] xvidcore/dshow/src/config.h:81:32: note: Function 'adv_proc' argument 1 names different: declaration 'hDlg' definition 'hwnd'. xvidcore/dshow/src/config.c:118:32: note: Function 'adv_proc' argument 1 names different: declaration 'hDlg' definition 'hwnd'. xvidcore/examples/xvid_bench.c:1762:41: error: Array 'Src0[3][4096]' accessed at index Src0[0][12287], which is out of bounds. [arrayIndexOutOfBounds] xvidcore/examples/xvid_bench.c:1762:12: note: Assuming that condition 'i<(int)sizeof(Src0)' is not redundant xvidcore/examples/xvid_bench.c:1762:41: note: Array index out of bounds xvidcore/examples/xvid_bench.c:1763:41: error: Array 'Dst0[4][4096]' accessed at index Dst0[0][16383], which is out of bounds. [arrayIndexOutOfBounds] xvidcore/examples/xvid_bench.c:1763:12: note: Assuming that condition 'i<(int)sizeof(Dst0)' is not redundant xvidcore/examples/xvid_bench.c:1763:41: note: Array index out of bounds xvidcore/examples/xvid_bench.c:1770:3: error: Array 'Dst0[4][4096]' accessed at index Dst0[0][16383], which is out of bounds. [arrayIndexOutOfBounds] xvidcore/examples/xvid_bench.c:1770:3: note: Assuming that condition 'i<(int)sizeof(Dst0)' is not redundant xvidcore/examples/xvid_bench.c:1770:3: note: Array index out of bounds xvidcore/examples/xvid_bench.c:1773:3: error: Array 'Dst0[4][4096]' accessed at index Dst0[0][16383], which is out of bounds. [arrayIndexOutOfBounds] xvidcore/examples/xvid_bench.c:1773:3: note: Assuming that condition 'i<(int)sizeof(Dst0)' is not redundant xvidcore/examples/xvid_bench.c:1773:3: note: Array index out of bounds xvidcore/examples/xvid_bench.c:1777:10: error: Array 'Dst0[4][4096]' accessed at index Dst0[0][16383], which is out of bounds. [arrayIndexOutOfBounds] xvidcore/examples/xvid_bench.c:1777:10: note: Assuming that condition 'i<(int)sizeof(Dst0)' is not redundant xvidcore/examples/xvid_bench.c:1777:10: note: Array index out of bounds xvidcore/examples/xvid_bench.c:1849:41: error: Array 'Src0[3][4096]' accessed at index Src0[0][12287], which is out of bounds. [arrayIndexOutOfBounds] xvidcore/examples/xvid_bench.c:1849:12: note: Assuming that condition 'i<(int)sizeof(Src0)' is not redundant xvidcore/examples/xvid_bench.c:1849:41: note: Array index out of bounds xvidcore/examples/xvid_bench.c:1855:4: error: Array 'Dst0[3][4096]' accessed at index Dst0[0][12287], which is out of bounds. [arrayIndexOutOfBounds] xvidcore/examples/xvid_bench.c:1855:4: note: Assuming that condition 'i<(int)sizeof(Dst0)' is not redundant xvidcore/examples/xvid_bench.c:1855:4: note: Array index out of bounds xvidcore/examples/xvid_bench.c:2221:69: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/examples/xvid_bench.c:393:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvidcore/examples/xvid_bench.c:402:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvidcore/examples/xvid_bench.c:411:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvidcore/examples/xvid_bench.c:420:17: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvidcore/examples/xvid_bench.c:429:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvidcore/examples/xvid_bench.c:1999:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvidcore/examples/xvid_bench.c:2000:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvidcore/examples/xvid_bench.c:1962:24: warning: Either the condition 'num' is redundant or there is possible null pointer dereference: num. [nullPointerRedundantCheck] xvidcore/examples/xvid_bench.c:1963:7: note: Assuming that condition 'num' is not redundant xvidcore/examples/xvid_bench.c:1962:24: note: Null pointer dereference xvidcore/examples/xvid_bench.c:707:3: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] xvidcore/examples/xvid_bench.c:696:3: note: s is assigned xvidcore/examples/xvid_bench.c:707:3: note: s is overwritten xvidcore/examples/xvid_bench.c:2041:12: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] xvidcore/examples/xvid_bench.c:93:24: style: Parameter 'v' can be declared as const array [constParameter] xvidcore/examples/xvid_bench.c:1076:38: style: Parameter 'Blk' can be declared as const array [constParameter] xvidcore/examples/xvid_bench.c:1076:53: style: Parameter 'Ref' can be declared as const array [constParameter] xvidcore/examples/xvid_bench.c:1039:9: style: Variable 't' is assigned a value that is never used. [unreadVariable] xvidcore/examples/xvid_bench.c:1753:7: style: Unused variable: cpu [unusedVariable] xvidcore/examples/xvid_bench.c:1756:9: style: Unused variable: j [unusedVariable] xvidcore/examples/xvid_bench.c:1839:7: style: Unused variable: cpu [unusedVariable] xvidcore/examples/xvid_bench.c:1843:9: style: Unused variable: j [unusedVariable] xvidcore/examples/xvid_decraw.c:147:35: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_decraw.c:154:31: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_decraw.c:159:31: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_decraw.c:177:38: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_decraw.c:182:31: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_decraw.c:191:37: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_decraw.c:599:17: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/examples/xvid_decraw.c:149:8: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] xvidcore/examples/xvid_encraw.c:383:31: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:386:31: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:389:32: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:410:34: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:413:38: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:438:41: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:441:33: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:460:37: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:463:36: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:466:42: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:469:43: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:473:35: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:562:37: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:565:35: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:568:37: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:571:36: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:574:39: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:588:46: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:591:31: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:608:39: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:611:38: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:616:37: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:619:34: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:622:36: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:625:34: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:628:34: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:631:34: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:634:34: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:637:34: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:640:34: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:643:34: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:646:35: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:649:37: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:670:35: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:674:31: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:678:33: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:687:33: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:731:37: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:734:36: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:737:37: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:740:38: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:743:39: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:746:38: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:749:36: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:752:37: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:755:35: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:758:34: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:761:39: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:764:38: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:767:38: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:770:38: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:773:40: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xvidcore/examples/xvid_encraw.c:87:4: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/examples/xvid_encraw.c:90:4: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/examples/xvid_encraw.c:93:73: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/examples/xvid_encraw.c:514:11: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xvidcore/examples/xvid_encraw.c:672:19: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] xvidcore/examples/xvid_encraw.c:1976:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] xvidcore/examples/xvid_encraw.c:489:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xvidcore/examples/xvid_encraw.c:1711:9: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xvidcore/examples/xvid_encraw.c:2515:8: style:inconclusive: Function 'enc_main' argument 8 names different: declaration 'stats' definition 'sse'. [funcArgNamesDifferent] xvidcore/examples/xvid_encraw.c:329:11: note: Function 'enc_main' argument 8 names different: declaration 'stats' definition 'sse'. xvidcore/examples/xvid_encraw.c:2515:8: note: Function 'enc_main' argument 8 names different: declaration 'stats' definition 'sse'. xvidcore/examples/xvid_encraw.c:2803:33: style:inconclusive: Function 'removedivxp' argument 2 names different: declaration 'size' definition 'bufsize'. [funcArgNamesDifferent] xvidcore/examples/xvid_encraw.c:340:33: note: Function 'removedivxp' argument 2 names different: declaration 'size' definition 'bufsize'. xvidcore/examples/xvid_encraw.c:2803:33: note: Function 'removedivxp' argument 2 names different: declaration 'size' definition 'bufsize'. xvidcore/examples/xvid_encraw.c:871:7: style: Local variable 'i' shadows outer variable [shadowVariable] xvidcore/examples/xvid_encraw.c:359:6: note: Shadowed declaration xvidcore/examples/xvid_encraw.c:871:7: note: Shadow variable xvidcore/examples/xvid_encraw.c:1863:18: style: Parameter 'quants' can be declared as const array [constParameter] xvidcore/examples/xvid_encraw.c:1872:18: style: Parameter 'quants' can be declared as const array [constParameter] xvidcore/examples/xvid_encraw.c:1261:8: style: Variable 'outavifilename' is assigned a value that is never used. [unreadVariable] xvidcore/examples/xvid_encraw.c:1262:8: style: Variable 'outmkvfilename' is assigned a value that is never used. [unreadVariable] xvidcore/examples/xvid_encraw.c:2388:46: style: Variable 'plugins[xvid_enc_create.num_plugins].param' is assigned a value that is never used. [unreadVariable] xvidcore/src/portab.h:141:0: error: #error You are trying to compile Xvid without defining address bus size. [preprocessorErrorDirective] xvidcore/vfw/src/codec.c:40:4: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/vfw/src/codec.c:41:4: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/vfw/src/codec.c:43:25: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/vfw/src/config.c:2085:8: style: Local variable 'i' shadows outer variable [shadowVariable] xvidcore/vfw/src/config.c:2023:15: note: Shadowed declaration xvidcore/vfw/src/config.c:2085:8: note: Shadow variable xvidcore/vfw/src/config.c:2171:9: style: Local variable 'i' shadows outer variable [shadowVariable] xvidcore/vfw/src/config.c:2023:15: note: Shadowed declaration xvidcore/vfw/src/config.c:2171:9: note: Shadow variable xvidcore/vfw/src/config.c:2214:9: style: Local variable 'i' shadows outer variable [shadowVariable] xvidcore/vfw/src/config.c:2023:15: note: Shadowed declaration xvidcore/vfw/src/config.c:2214:9: note: Shadow variable xvidcore/vfw/src/config.c:1357:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] xvidcore/vfw/src/config.c:1841:31: error: Uninitialized variable: psi[i] [legacyUninitvar] xvidcore/vfw/src/status.c:348:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvidcore/vfw/src/status.c:102:15: style: Parameter 'quants' can be declared as const array [constParameter] diff: head xvidcore/examples/xvid_bench.c:1076:38: style: Parameter 'Blk' can be declared as const array [constParameter] 2.8 xvidcore/examples/xvid_bench.c:1076:38: style: Parameter 'Blk' can be declared with const [constParameter] head xvidcore/examples/xvid_bench.c:1076:53: style: Parameter 'Ref' can be declared as const array [constParameter] 2.8 xvidcore/examples/xvid_bench.c:1076:53: style: Parameter 'Ref' can be declared with const [constParameter] head xvidcore/examples/xvid_bench.c:2221:69: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head xvidcore/examples/xvid_bench.c:93:24: style: Parameter 'v' can be declared as const array [constParameter] 2.8 xvidcore/examples/xvid_bench.c:93:24: style: Parameter 'v' can be declared with const [constParameter] head xvidcore/examples/xvid_decraw.c:599:17: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] 2.8 xvidcore/examples/xvid_encraw.c:1404:20: error: Uninitialized variable: ARG_INPUTFILE [uninitvar] head xvidcore/examples/xvid_encraw.c:1863:18: style: Parameter 'quants' can be declared as const array [constParameter] 2.8 xvidcore/examples/xvid_encraw.c:1863:18: style: Parameter 'quants' can be declared with const [constParameter] head xvidcore/examples/xvid_encraw.c:1872:18: style: Parameter 'quants' can be declared as const array [constParameter] 2.8 xvidcore/examples/xvid_encraw.c:1872:18: style: Parameter 'quants' can be declared with const [constParameter] head xvidcore/examples/xvid_encraw.c:87:4: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head xvidcore/examples/xvid_encraw.c:90:4: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head xvidcore/examples/xvid_encraw.c:93:73: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head xvidcore/vfw/src/codec.c:40:4: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head xvidcore/vfw/src/codec.c:41:4: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head xvidcore/vfw/src/codec.c:43:25: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head xvidcore/vfw/src/status.c:102:15: style: Parameter 'quants' can be declared as const array [constParameter] 2.8 xvidcore/vfw/src/status.c:102:15: style: Parameter 'quants' can be declared with const [constParameter] DONE