2025-05-10 14:56 ftp://ftp.de.debian.org/debian/pool/main/f/flvmeta/flvmeta_1.2.2.orig.tar.gz 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: beb3362 (2025-05-10 14:33:23 +0200) count: 154 154 elapsed-time: 4.1 4.4 head-timing-info: old-timing-info: head results: flvmeta-1.2.2/src/amf.c:1160:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] flvmeta-1.2.2/src/amf.c:791:17: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/amf.c:993:20: warning: Either the condition 'node!=NULL' is redundant or there is possible null pointer dereference: node. [nullPointerRedundantCheck] flvmeta-1.2.2/src/amf.c:986:26: note: Assuming that condition 'node!=NULL' is not redundant flvmeta-1.2.2/src/amf.c:993:20: note: Null pointer dereference flvmeta-1.2.2/src/amf.c:224:41: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] flvmeta-1.2.2/src/amf.c:903:34: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] flvmeta-1.2.2/src/amf.c:1154:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/check.c:62:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/check.c:53:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] flvmeta-1.2.2/src/check.c:137:13: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] flvmeta-1.2.2/src/check.c:348:13: portability: %hhd in format string (no. 1) requires 'char' but the argument type is 'uint8 {aka unsigned char}'. [invalidPrintfArgType_sint] flvmeta-1.2.2/src/check.c:431:13: portability: %d in format string (no. 1) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] flvmeta-1.2.2/src/check.c:820:25: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:820:25: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:840:25: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:840:25: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:860:25: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:860:25: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:883:29: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:883:29: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:909:29: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:909:29: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:935:29: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:935:29: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:960:29: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:960:29: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:985:29: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:985:29: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1017:29: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1017:29: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1046:29: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1046:29: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1096:25: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1096:25: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1117:29: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1117:29: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1142:29: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1142:29: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1170:25: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1170:25: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1191:29: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1191:29: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1216:29: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1216:29: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1241:29: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1241:29: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1362:45: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1362:45: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1369:45: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1387:45: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:1387:45: portability: %g in format string (no. 2) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/check.c:45:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/check.c:124:16: style: Variable 'levelstr' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/check.c:748:20: style: Variable 'name' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/check.c:749:24: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/check.c:1292:32: style: Variable 'file_times' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/check.c:1292:46: style: Variable 'file_filepositions' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/compat/getopt.c:642:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/compat/getopt.c:454:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:156:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. flvmeta-1.2.2/src/compat/getopt.c:454:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. flvmeta-1.2.2/src/compat/getopt.c:454:42: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:156:56: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. flvmeta-1.2.2/src/compat/getopt.c:454:42: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. flvmeta-1.2.2/src/compat/getopt.c:455:17: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:157:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. flvmeta-1.2.2/src/compat/getopt.c:455:17: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. flvmeta-1.2.2/src/compat/getopt.c:455:49: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:158:37: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. flvmeta-1.2.2/src/compat/getopt.c:455:49: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. flvmeta-1.2.2/src/compat/getopt.c:456:10: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:158:54: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. flvmeta-1.2.2/src/compat/getopt.c:456:10: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. flvmeta-1.2.2/src/compat/getopt.c:456:23: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:159:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. flvmeta-1.2.2/src/compat/getopt.c:456:23: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. flvmeta-1.2.2/src/compat/getopt.c:822:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/compat/getopt1.c:64:18: style:inconclusive: Function 'getopt_long' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:148:29: note: Function 'getopt_long' argument 1 names different: declaration '___argc' definition 'argc'. flvmeta-1.2.2/src/compat/getopt1.c:64:18: note: Function 'getopt_long' argument 1 names different: declaration '___argc' definition 'argc'. flvmeta-1.2.2/src/compat/getopt1.c:65:20: style:inconclusive: Function 'getopt_long' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:148:51: note: Function 'getopt_long' argument 2 names different: declaration '___argv' definition 'argv'. flvmeta-1.2.2/src/compat/getopt1.c:65:20: note: Function 'getopt_long' argument 2 names different: declaration '___argv' definition 'argv'. flvmeta-1.2.2/src/compat/getopt1.c:66:19: style:inconclusive: Function 'getopt_long' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:149:16: note: Function 'getopt_long' argument 3 names different: declaration '__shortopts' definition 'options'. flvmeta-1.2.2/src/compat/getopt1.c:66:19: note: Function 'getopt_long' argument 3 names different: declaration '__shortopts' definition 'options'. flvmeta-1.2.2/src/compat/getopt1.c:67:28: style:inconclusive: Function 'getopt_long' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:150:32: note: Function 'getopt_long' argument 4 names different: declaration '__longopts' definition 'long_options'. flvmeta-1.2.2/src/compat/getopt1.c:67:28: note: Function 'getopt_long' argument 4 names different: declaration '__longopts' definition 'long_options'. flvmeta-1.2.2/src/compat/getopt1.c:68:12: style:inconclusive: Function 'getopt_long' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:150:49: note: Function 'getopt_long' argument 5 names different: declaration '__longind' definition 'opt_index'. flvmeta-1.2.2/src/compat/getopt1.c:68:12: note: Function 'getopt_long' argument 5 names different: declaration '__longind' definition 'opt_index'. flvmeta-1.2.2/src/compat/getopt1.c:79:23: style:inconclusive: Function 'getopt_long_only' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:151:34: note: Function 'getopt_long_only' argument 1 names different: declaration '___argc' definition 'argc'. flvmeta-1.2.2/src/compat/getopt1.c:79:23: note: Function 'getopt_long_only' argument 1 names different: declaration '___argc' definition 'argc'. flvmeta-1.2.2/src/compat/getopt1.c:80:18: style:inconclusive: Function 'getopt_long_only' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:151:56: note: Function 'getopt_long_only' argument 2 names different: declaration '___argv' definition 'argv'. flvmeta-1.2.2/src/compat/getopt1.c:80:18: note: Function 'getopt_long_only' argument 2 names different: declaration '___argv' definition 'argv'. flvmeta-1.2.2/src/compat/getopt1.c:81:17: style:inconclusive: Function 'getopt_long_only' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:152:21: note: Function 'getopt_long_only' argument 3 names different: declaration '__shortopts' definition 'options'. flvmeta-1.2.2/src/compat/getopt1.c:81:17: note: Function 'getopt_long_only' argument 3 names different: declaration '__shortopts' definition 'options'. flvmeta-1.2.2/src/compat/getopt1.c:82:26: style:inconclusive: Function 'getopt_long_only' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:153:37: note: Function 'getopt_long_only' argument 4 names different: declaration '__longopts' definition 'long_options'. flvmeta-1.2.2/src/compat/getopt1.c:82:26: note: Function 'getopt_long_only' argument 4 names different: declaration '__longopts' definition 'long_options'. flvmeta-1.2.2/src/compat/getopt1.c:83:10: style:inconclusive: Function 'getopt_long_only' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] flvmeta-1.2.2/src/compat/getopt.h:153:54: note: Function 'getopt_long_only' argument 5 names different: declaration '__longind' definition 'opt_index'. flvmeta-1.2.2/src/compat/getopt1.c:83:10: note: Function 'getopt_long_only' argument 5 names different: declaration '__longind' definition 'opt_index'. flvmeta-1.2.2/src/dump.c:30:49: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] flvmeta-1.2.2/src/dump_json.c:290:5: error: Address of local auto-variable assigned to a function parameter. [autoVariables] flvmeta-1.2.2/src/dump_json.c:97:40: style: Parameter 'header' can be declared as pointer to const. However it seems that 'json_on_header' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_json.c:281:25: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_json.c:97:40: note: Parameter 'header' can be declared as pointer to const flvmeta-1.2.2/src/dump_json.c:218:55: style: Parameter 'name' can be declared as pointer to const. However it seems that 'json_on_metadata_tag' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_json.c:285:31: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_json.c:218:55: note: Parameter 'name' can be declared as pointer to const flvmeta-1.2.2/src/dump_json.c:218:72: style: Parameter 'data' can be declared as pointer to const. However it seems that 'json_on_metadata_tag' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_json.c:285:31: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_json.c:218:72: note: Parameter 'data' can be declared as pointer to const flvmeta-1.2.2/src/dump_json.c:253:60: style: Parameter 'name' can be declared as pointer to const. However it seems that 'json_on_metadata_tag_only' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_json.c:274:35: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_json.c:253:60: note: Parameter 'name' can be declared as pointer to const flvmeta-1.2.2/src/dump_json.c:253:77: style: Parameter 'data' can be declared as pointer to const. However it seems that 'json_on_metadata_tag_only' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_json.c:274:35: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_json.c:253:77: note: Parameter 'data' can be declared as pointer to const flvmeta-1.2.2/src/dump_json.c:254:20: style: Variable 'options' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/dump_raw.c:119:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/dump_raw.c:173:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/dump_raw.c:56:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] flvmeta-1.2.2/src/dump_raw.c:57:5: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] flvmeta-1.2.2/src/dump_raw.c:88:13: portability: %i in format string (no. 1) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] flvmeta-1.2.2/src/dump_raw.c:30:39: style: Parameter 'header' can be declared as pointer to const. However it seems that 'raw_on_header' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_raw.c:161:25: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_raw.c:30:39: note: Parameter 'header' can be declared as pointer to const flvmeta-1.2.2/src/dump_raw.c:116:54: style: Parameter 'name' can be declared as pointer to const. However it seems that 'raw_on_metadata_tag' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_raw.c:165:31: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_raw.c:116:54: note: Parameter 'name' can be declared as pointer to const flvmeta-1.2.2/src/dump_raw.c:116:71: style: Parameter 'data' can be declared as pointer to const. However it seems that 'raw_on_metadata_tag' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_raw.c:165:31: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_raw.c:116:71: note: Parameter 'data' can be declared as pointer to const flvmeta-1.2.2/src/dump_raw.c:124:59: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'raw_on_prev_tag_size' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_raw.c:166:32: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_raw.c:124:59: note: Parameter 'parser' can be declared as pointer to const flvmeta-1.2.2/src/dump_raw.c:135:59: style: Parameter 'name' can be declared as pointer to const. However it seems that 'raw_on_metadata_tag_only' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_raw.c:156:35: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_raw.c:135:59: note: Parameter 'name' can be declared as pointer to const flvmeta-1.2.2/src/dump_raw.c:135:76: style: Parameter 'data' can be declared as pointer to const. However it seems that 'raw_on_metadata_tag_only' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_raw.c:156:35: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_raw.c:135:76: note: Parameter 'data' can be declared as pointer to const flvmeta-1.2.2/src/dump_raw.c:136:20: style: Variable 'options' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/dump_xml.c:65:17: portability: %g in format string (no. 3) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/dump_xml.c:168:5: portability: %i in format string (no. 2) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] flvmeta-1.2.2/src/dump_xml.c:168:5: portability: %i in format string (no. 3) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] flvmeta-1.2.2/src/dump_xml.c:172:5: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] flvmeta-1.2.2/src/dump_xml.c:203:13: portability: %i in format string (no. 1) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] flvmeta-1.2.2/src/dump_xml.c:45:16: style: Variable 'ns' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/dump_xml.c:158:39: style: Parameter 'header' can be declared as pointer to const. However it seems that 'xml_on_header' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_xml.c:287:25: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_xml.c:158:39: note: Parameter 'header' can be declared as pointer to const flvmeta-1.2.2/src/dump_xml.c:158:60: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'xml_on_header' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_xml.c:287:25: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_xml.c:158:60: note: Parameter 'parser' can be declared as pointer to const flvmeta-1.2.2/src/dump_xml.c:167:51: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'xml_on_tag' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_xml.c:288:22: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_xml.c:167:51: note: Parameter 'parser' can be declared as pointer to const flvmeta-1.2.2/src/dump_xml.c:243:54: style: Parameter 'name' can be declared as pointer to const. However it seems that 'xml_on_metadata_tag' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_xml.c:291:31: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_xml.c:243:54: note: Parameter 'name' can be declared as pointer to const flvmeta-1.2.2/src/dump_xml.c:243:71: style: Parameter 'data' can be declared as pointer to const. However it seems that 'xml_on_metadata_tag' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_xml.c:291:31: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_xml.c:243:71: note: Parameter 'data' can be declared as pointer to const flvmeta-1.2.2/src/dump_xml.c:251:59: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'xml_on_prev_tag_size' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_xml.c:292:32: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_xml.c:251:59: note: Parameter 'parser' can be declared as pointer to const flvmeta-1.2.2/src/dump_xml.c:256:43: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'xml_on_stream_end' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_xml.c:293:29: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_xml.c:256:43: note: Parameter 'parser' can be declared as pointer to const flvmeta-1.2.2/src/dump_xml.c:262:59: style: Parameter 'name' can be declared as pointer to const. However it seems that 'xml_on_metadata_tag_only' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_xml.c:282:35: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_xml.c:262:59: note: Parameter 'name' can be declared as pointer to const flvmeta-1.2.2/src/dump_xml.c:262:76: style: Parameter 'data' can be declared as pointer to const. However it seems that 'xml_on_metadata_tag_only' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_xml.c:282:35: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_xml.c:262:76: note: Parameter 'data' can be declared as pointer to const flvmeta-1.2.2/src/dump_xml.c:263:20: style: Variable 'options' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/dump_yaml.c:39:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YAML_ANY_SCALAR_STYLE [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/dump_yaml.c:122:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YAML_ANY_MAPPING_STYLE [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/dump_yaml.c:177:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YAML_ANY_MAPPING_STYLE [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/dump_yaml.c:222:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YAML_ANY_SCALAR_STYLE [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/dump_yaml.c:300:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YAML_ANY_SCALAR_STYLE [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/dump_yaml.c:377:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YAML_ANY_SCALAR_STYLE [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/dump_yaml.c:451:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/dump_yaml.c:476:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/dump_yaml.c:457:5: error: Address of local auto-variable assigned to a function parameter. [autoVariables] flvmeta-1.2.2/src/dump_yaml.c:38:17: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/dump_yaml.c:191:5: portability: %i in format string (no. 1) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] flvmeta-1.2.2/src/dump_yaml.c:199:5: portability: %i in format string (no. 1) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] flvmeta-1.2.2/src/dump_yaml.c:207:5: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] flvmeta-1.2.2/src/dump_yaml.c:278:13: portability: %i in format string (no. 1) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] flvmeta-1.2.2/src/dump_yaml.c:56:32: style: Variable 'name' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/dump_yaml.c:78:32: style: Variable 'name' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/dump_yaml.c:115:40: style: Parameter 'header' can be declared as pointer to const. However it seems that 'yaml_on_header' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_yaml.c:442:25: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_yaml.c:115:40: note: Parameter 'header' can be declared as pointer to const flvmeta-1.2.2/src/dump_yaml.c:371:72: style: Parameter 'data' can be declared as pointer to const. However it seems that 'yaml_on_metadata_tag' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_yaml.c:446:31: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_yaml.c:371:72: note: Parameter 'data' can be declared as pointer to const flvmeta-1.2.2/src/dump_yaml.c:413:60: style: Parameter 'name' can be declared as pointer to const. However it seems that 'yaml_on_metadata_tag_only' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_yaml.c:433:35: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_yaml.c:413:60: note: Parameter 'name' can be declared as pointer to const flvmeta-1.2.2/src/dump_yaml.c:413:77: style: Parameter 'data' can be declared as pointer to const. However it seems that 'yaml_on_metadata_tag_only' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flvmeta-1.2.2/src/dump_yaml.c:433:35: note: You might need to cast the function pointer here flvmeta-1.2.2/src/dump_yaml.c:413:77: note: Parameter 'data' can be declared as pointer to const flvmeta-1.2.2/src/dump_yaml.c:414:20: style: Variable 'options' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/flvmeta.c:88:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/flvmeta.c:95:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/flvmeta.c:141:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/flvmeta.c:180:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/flvmeta.c:395:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/info.c:238:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/info.c:553:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/info.c:449:21: style: Redundant condition: info->have_keyframes. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] flvmeta-1.2.2/src/info.c:534:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] flvmeta-1.2.2/src/info.c:367:24: style: Variable 'name' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/info.c:664:20: style: Variable 'name' can be declared as pointer to const [constVariablePointer] flvmeta-1.2.2/src/json.c:52:21: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'char'. [invalidPrintfArgType_uint] flvmeta-1.2.2/src/json.c:127:5: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] flvmeta-1.2.2/src/json.c:142:5: portability: %g in format string (no. 1) requires 'double' but the argument type is 'number64 {aka unsigned long}'. [invalidPrintfArgType_float] flvmeta-1.2.2/src/libyaml/yaml_private.h:15:1: error: There is an unknown macro here somewhere. Configuration is required. If YAML_DECLARE is a macro then please configure it. [unknownMacro] flvmeta-1.2.2/src/update.c:54:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/src/update.c:257:42: style:inconclusive: Function 'update_metadata' argument 1 names different: declaration 'options' definition 'opts'. [funcArgNamesDifferent] flvmeta-1.2.2/src/update.h:32:49: note: Function 'update_metadata' argument 1 names different: declaration 'options' definition 'opts'. flvmeta-1.2.2/src/update.c:257:42: note: Function 'update_metadata' argument 1 names different: declaration 'options' definition 'opts'. flvmeta-1.2.2/tests/check_amf.c:42:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMF_TYPE_NUMBER [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/tests/check_amf.c:71:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMF_TYPE_BOOLEAN [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/tests/check_amf.c:100:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMF_TYPE_STRING [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/tests/check_amf.c:155:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_amf_number_new [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/tests/check_flv.c:235:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_swap_uint16 [valueFlowBailoutIncompleteVar] flvmeta-1.2.2/tests/check_flvmeta.c:35:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CK_NORMAL [valueFlowBailoutIncompleteVar] diff: DONE