2025-05-09 02:33 ftp://ftp.de.debian.org/debian/pool/main/x/xvidcore/xvidcore_1.3.7.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 281 275 elapsed-time: 9.7 10.0 head-timing-info: old-timing-info: head results: xvidcore/dshow/src/CAbout.cpp:48:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E_OUTOFMEMORY [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CAbout.cpp:68:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 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:189:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_USER [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:256:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:265:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:276:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E_OUTOFMEMORY [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:286:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E_POINTER [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:342:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:360:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E_UNEXPECTED [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:496:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_DEC_DESTROY [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:515:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_CLOSE [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:555:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEDIATYPE_Video [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:710:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:855:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORMAT_VideoInfo [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:950:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PINDIR_OUTPUT [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:965:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_OK [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:974:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PINDIR_OUTPUT [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:1023:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_OK [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:1034:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:1069:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_VERSION [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:1283:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUID [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/CXvidDecoder.cpp:1300:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_OK [valueFlowBailoutIncompleteVar] 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:1101:22: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:1106:23: style: C-style pointer casting [cstyleCast] xvidcore/dshow/src/CXvidDecoder.cpp:1160:59: 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/debug.h:16:15: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] xvidcore/dshow/src/Configure.cpp:41:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dwSize [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/config.c:44:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HKEY_CURRENT_USER [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/config.c:71:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HKEY_CURRENT_USER [valueFlowBailoutIncompleteVar] xvidcore/dshow/src/config.c:129:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETCURSEL [valueFlowBailoutIncompleteVar] 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/dshow/src/debug.c:8:31: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] xvidcore/examples/xvid_bench.c:145:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_VERSION [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_bench.c:314:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iDst0 [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_bench.c:370:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cur [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_bench.c:651:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Src8 [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_bench.c:788:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpeg_quant_matrices [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_bench.c:896:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Src1 [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_bench.c:981:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Src1 [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_bench.c:1267:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Blk0 [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_bench.c:1463:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_VERSION [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_bench.c:1613:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Blk [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_bench.c:1647:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Src [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_bench.c:2071:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ref1 [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_bench.c:2221:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_CPU_FORCE [valueFlowBailoutIncompleteVar] 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: style: 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:139:19: style: Parameter 'cpu' can be declared as pointer to const [constParameterPointer] xvidcore/examples/xvid_bench.c:249:19: style: Parameter 'mem' can be declared as pointer to const [constParameterPointer] xvidcore/examples/xvid_bench.c:264:25: style: Parameter 'mem' can be declared as pointer to const [constParameterPointer] 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:394:21: warning: Uninitialized variable: s [uninitvar] xvidcore/examples/xvid_bench.c:390:17: note: Assuming condition is false xvidcore/examples/xvid_bench.c:394:21: note: Uninitialized variable: s xvidcore/examples/xvid_bench.c:922:21: warning: Uninitialized variable: sse [uninitvar] xvidcore/examples/xvid_bench.c:920:3: note: Assuming condition is false xvidcore/examples/xvid_bench.c:922:21: note: Uninitialized variable: sse xvidcore/examples/xvid_bench.c:1007:21: warning: Uninitialized variable: cbp [uninitvar] xvidcore/examples/xvid_bench.c:1005:3: note: Assuming condition is false xvidcore/examples/xvid_bench.c:1007:21: note: Uninitialized variable: cbp xvidcore/examples/xvid_bench.c:2113:21: warning: Uninitialized variable: m [uninitvar] xvidcore/examples/xvid_bench.c:2109:17: note: Assuming condition is false xvidcore/examples/xvid_bench.c:2113:21: note: Uninitialized variable: m 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:100:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_TYPE_IVOP [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_decraw.c:162:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_CSP_RGB555 [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_decraw.c:488:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_decraw.c:542:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_decraw.c:719:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xvid_gbl_init_t [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_decraw.c:813:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xvid_dec_frame_t [valueFlowBailoutIncompleteVar] 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: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/examples/xvid_decraw.c:599:43: style: 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_decraw.c:551:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] xvidcore/examples/xvid_decraw.c:550:20: note: Assuming allocation function fails xvidcore/examples/xvid_decraw.c:550:20: note: Assignment 'fp=fopen(filename,"wb")', assigned value is 0 xvidcore/examples/xvid_decraw.c:551:11: note: Null pointer dereference xvidcore/examples/xvid_decraw.c:527:30: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] xvidcore/examples/xvid_decraw.c:530:8: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] xvidcore/examples/xvid_decraw.c:567:28: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xvidcore/examples/xvid_decraw.c:648:28: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xvidcore/examples/xvid_decraw.c:688:28: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xvidcore/examples/xvid_decraw.c:688:53: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] xvidcore/examples/xvid_encraw.c:366:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_encraw.c:1284:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_encraw.c:1899:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_encraw.c:2072:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_encraw.c:2225:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_VERSION [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_encraw.c:2269:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_VERSION [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_encraw.c:2462:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_VERSION [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_encraw.c:2525:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_VERSION [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_encraw.c:2721:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_ZONE_QUANT [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_encraw.c:2753:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_ZONE_QUANT [valueFlowBailoutIncompleteVar] xvidcore/examples/xvid_encraw.c:2786:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_VOP_GREYSCALE [valueFlowBailoutIncompleteVar] 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: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/examples/xvid_encraw.c:87:30: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/examples/xvid_encraw.c:90:4: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/examples/xvid_encraw.c:90:30: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/examples/xvid_encraw.c:93:73: style: 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:1724:37: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] xvidcore/examples/xvid_encraw.c:1723:16: note: Assuming allocation function fails xvidcore/examples/xvid_encraw.c:1723:16: note: Assignment 'out=fopen(filename,"w+b")', assigned value is 0 xvidcore/examples/xvid_encraw.c:1724:37: note: Null pointer dereference xvidcore/examples/xvid_encraw.c:1725:12: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] xvidcore/examples/xvid_encraw.c:1723:16: note: Assuming allocation function fails xvidcore/examples/xvid_encraw.c:1723:16: note: Assignment 'out=fopen(filename,"w+b")', assigned value is 0 xvidcore/examples/xvid_encraw.c:1725:12: note: Null pointer dereference 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:475:10: style: Variable 'frameoptions' can be declared as pointer to const [constVariablePointer] 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/src/portab.h:141:6: error: #error You are trying to compile Xvid without defining address bus size. [preprocessorErrorDirective] xvidcore/vfw/src/codec.c:55:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_CSP_VFLIP [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:154:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICM_USER [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:182:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_CSP_NULL [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:230:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICERR_OK [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:236:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_TYPE_IVOP [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:277:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_ERR_FAIL [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:291:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_ICONEXCLAMATION [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:341:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_TYPE_AUTO [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:373:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_TYPE_AUTO [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:410:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICERR_ERROR [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:651:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICERR_OK [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:679:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_VOP_GREYSCALE [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:710:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_VERSION [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:928:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_CSP_NULL [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:969:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BITMAPINFOHEADER [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:1019:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICERR_ERROR [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:1084:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICERR_OK [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:1115:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_VERSION [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/codec.c:40:4: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/vfw/src/codec.c:40:30: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/vfw/src/codec.c:41:4: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/vfw/src/codec.c:41:30: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/vfw/src/codec.c:43:25: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xvidcore/vfw/src/codec.c:82:21: style: Variable 'hdr4' can be declared as pointer to const [constVariablePointer] xvidcore/vfw/src/codec.c:150:21: style: Variable 'outhdr' can be declared as pointer to const [constVariablePointer] xvidcore/vfw/src/codec.c:217:35: style: Parameter 'codec' can be declared as pointer to const [constParameterPointer] xvidcore/vfw/src/codec.c:217:55: style: Parameter 'lpbiInput' can be declared as pointer to const [constParameterPointer] xvidcore/vfw/src/codec.c:223:64: style: Parameter 'icf' can be declared as pointer to const [constParameterPointer] xvidcore/vfw/src/codec.c:260:21: style: Variable 'data' can be declared as pointer to const [constVariablePointer] xvidcore/vfw/src/codec.c:1013:21: style: Variable 'inhdr' can be declared as pointer to const [constVariablePointer] xvidcore/vfw/src/debug.h:42:36: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] xvidcore/vfw/src/config.c:59:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOOLINFO [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:346:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_VERSION [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:442:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HKEY_CURRENT_USER [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:494:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HKEY_CURRENT_USER [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:513:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:521:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:531:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETCURSEL [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:605:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:631:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:690:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWLP_USERDATA [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:753:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_ADDSTRING [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:860:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETCURSEL [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:1205:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_SETCURSEL [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:1393:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETCURSEL [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:1591:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWLP_USERDATA [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:1832:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:1880:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LVIF_TEXT [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:1921:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETCURSEL [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:1973:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_SETCURSEL [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:1994:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETCURSEL [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:2022:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWLP_USERDATA [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:2345:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_SETFONT [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:2410:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_VERSION [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/config.c:2503:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LVNI_SELECTED [valueFlowBailoutIncompleteVar] 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:1919:43: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] xvidcore/vfw/src/config.c:2109:12: style: Variable 'n' can be declared as pointer to const [constVariablePointer] xvidcore/vfw/src/config.c:2112:19: style: Variable 'nmlv' can be declared as pointer to const [constVariablePointer] xvidcore/vfw/src/config.c:1841:31: error: Uninitialized variable: psi[i] [legacyUninitvar] xvidcore/vfw/src/driverproc.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/driverproc.c:63:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRVCNF_OK [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/driverproc.c:313:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRV_OPEN [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/status.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rgbRed [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/status.c:124:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWLP_USERDATA [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/status.c:288:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BST_CHECKED [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/status.c:327:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_SHOW [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/status.c:333:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_TYPE_IVOP [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/status.c:345:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BST_CHECKED [valueFlowBailoutIncompleteVar] xvidcore/vfw/src/status.c:369:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XVID_TYPE_SVOP [valueFlowBailoutIncompleteVar] 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_decraw.c:599:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head xvidcore/examples/xvid_encraw.c:87:30: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head xvidcore/examples/xvid_encraw.c:90:30: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head xvidcore/src/portab.h:141:6: error: #error You are trying to compile Xvid without defining address bus size. [preprocessorErrorDirective] head xvidcore/vfw/src/codec.c:40:30: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head xvidcore/vfw/src/codec.c:41:30: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] DONE