2025-08-31 03:32 ftp://ftp.de.debian.org/debian/pool/main/g/gmerlin-avdecoder/gmerlin-avdecoder_2.0.0~svngit.20240110.09d9073+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --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 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 2ee39fe (2025-08-30 22:07:31 +0200) count: 2324 2359 elapsed-time: 5.2 5.4 head-timing-info: old-timing-info: head results: gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/adts_header.c:125:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CHID_FRONT_CENTER [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:107:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:128:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:150:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:173:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/a52_header.c:157:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CHID_LFE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:86:5: error: Memory leak: ret [memleak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:91:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:82:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:82:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:85:52: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:91:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:92:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:82:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:82:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:85:52: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:92:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:92:23: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:82:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:82:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:85:52: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/apetag.c:92:23: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/a52_header.c:55:61: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:65:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:34:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_audio_streams [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:71:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_HAVE_FRAME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:97:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_FILTER_PACKETS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:155:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_DECODE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:237:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:248:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_LABEL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:281:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_LANGUAGE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:326:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:358:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:466:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CODEC_ID_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:560:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:581:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_SBR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:171:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:164:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:164:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:171:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:172:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:164:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:164:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:172:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:172:31: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:164:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:164:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:172:31: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:173:10: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:164:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:164:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:173:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:175:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:164:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:164:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:175:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:177:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:164:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:164:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:177:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:184:39: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_a52' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:222:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:184:39: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:196:40: style: Parameter 's' can be declared as pointer to const. However it seems that 'resync_a52' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:223:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_a52.c:196:40: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/asmrp.c:435:21: warning: Either the condition 'i<0' is redundant or the array 'p->sym_tab[10]' is accessed at index -1, which is out of bounds. [negativeIndex] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/asmrp.c:432:10: note: Assuming that condition 'i<0' is not redundant gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/asmrp.c:435:21: note: Negative array index gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/asmrp.c:111:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/asmrp.c:109:14: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/asmrp.c:109:14: note: Assignment 'p=malloc(sizeof(struct asmrp_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/asmrp.c:111:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/asmrp.c:112:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/asmrp.c:109:14: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/asmrp.c:109:14: note: Assignment 'p=malloc(sizeof(struct asmrp_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/asmrp.c:112:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/asmrp.c:370:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/asmrp.c:370:45: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:93:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:189:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:179:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:178:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:178:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:179:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:180:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:178:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:178:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:180:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:180:31: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:178:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:178:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:180:31: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:188:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:178:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:178:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:188:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:191:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:178:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:178:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:189:26: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:191:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:55:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:84:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAAD_MIN_STREAMSIZE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:203:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_dca.c:46:7: style: struct member 'dts_priv::frame_length' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:197:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:196:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:196:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:197:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:273:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_faad2' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:311:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:273:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:284:42: style: Parameter 's' can be declared as pointer to const. However it seems that 'resync_faad2' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:312:16: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:284:42: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:39:11: style: struct member 'faad_priv_t::sample_buffer' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_faad2.c:214:12: style: Variable 'result' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:93:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SAMPLE_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:142:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CHID_AUX [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:212:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_CODEC_ID_AAC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:269:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:381:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_SRC_FRAMESIZE_MAX [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:895:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:88:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:191:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:201:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__METADATA_TYPE_STREAMINFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:221:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:297:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:422:5: error: Memory leak: priv [memleak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:368:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:368:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:369:32: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:369:32: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:370:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:370:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:372:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:372:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:375:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:375:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:397:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:397:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:398:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:398:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:399:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:399:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:400:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:400:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:401:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:401:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:402:6: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:402:6: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:407:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:407:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:408:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:408:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:417:19: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:417:19: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:441:27: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:367:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:417:37: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:441:27: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:462:43: style: Parameter 's' can be declared as pointer to const. However it seems that 'resync_ffmpeg' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:902:48: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:462:43: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:472:42: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_ffmpeg' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:901:47: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:472:42: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:869:52: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:230:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:228:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:228:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:230:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:231:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:228:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:228:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:231:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:234:16: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:228:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:228:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:234:16: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:242:58: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:228:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:228:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:242:58: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:211:22: style: Parameter 'client_data' can be declared as pointer to const. However it seems that 'error_callback' is a callback function, if 'client_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:239:16: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:211:22: note: Parameter 'client_data' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:322:40: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_flac' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:357:14: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:322:40: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_flac.c:88:14: style: Variable 'st' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_ffmpeg.c:276:14: style: Variable 'st' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gavf.c:50:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gavf.c:95:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gavf.c:92:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gavf.c:92:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gavf.c:95:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gavf.c:66:46: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_gavf_audio' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gavf.c:105:14: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gavf.c:66:46: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gavl.c:46:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gavl.c:63:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_PARSE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gavl.c:79:40: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_gavl' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gavl.c:106:14: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gavl.c:79:40: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gsm.c:62:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gsm.c:113:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gsm.c:57:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gsm.c:56:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gsm.c:56:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gsm.c:57:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gsm.c:93:39: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_gsm' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gsm.c:173:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_gsm.c:93:39: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:79:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAD_BUFFER_GUARD [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:104:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAD_MODE_SINGLE_CHANNEL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:168:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:279:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_opus.c:56:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_opus.c:136:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_opus.c:195:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPUS_RESET_STATE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:254:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:265:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio.c:573:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_opus.c:177:40: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_opus' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_opus.c:206:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_opus.c:177:40: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_opus.c:191:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'resync_opus' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_opus.c:207:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_opus.c:191:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:282:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:270:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:270:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:279:18: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:282:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:109:36: style: Variable 's->data.audio.format->samplerate' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:102:36: note: s->data.audio.format->samplerate is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:109:36: note: s->data.audio.format->samplerate is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:313:39: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_mad' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:345:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_mad.c:313:39: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_speex.c:64:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_speex.c:122:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_speex.c:175:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_speex' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_speex.c:196:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_speex.c:175:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:79:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:102:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:128:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_VORBIS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:226:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:506:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:541:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_VORBIS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARSER_HAVE_PACKET [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:137:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable packet_position [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:150:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARSER_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:212:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:265:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:320:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:377:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:400:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:443:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:494:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:516:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parser_position [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:549:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parser_position [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:792:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:826:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:1244:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:441:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:440:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:440:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:441:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:443:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:440:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:440:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:443:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audioparser.c:88:47: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:96:13: style: Variable 'src' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:228:51: style: Parameter 's' can be declared as pointer to const. However it seems that 'decode_s_24_lpcm_mono' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:976:33: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:228:51: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:355:13: style: Variable 'src' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:399:33: style: Parameter 'cptr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:427:33: style: Parameter 'cptr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:456:34: style: Parameter 'cptr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:489:34: style: Parameter 'cptr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:689:13: style: Variable 'src' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:759:13: style: Variable 'src' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:1262:39: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_pcm' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:1311:14: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_pcm.c:1262:39: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:870:5: error: Common realloc mistake: 'ret' nulled but not freed upon failure [memleakOnRealloc] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:460:38: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:199:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:199:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:460:38: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:461:40: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:199:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:199:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:461:40: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:414:9: style: Local variable 'len' shadows outer variable [shadowVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:196:12: note: Shadowed declaration gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:414:9: note: Shadow variable gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:600:42: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_vorbis' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:632:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:600:42: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:56:13: style: struct member 'vorbis_audio_priv::packet_ptr' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:662:15: style: struct member 'FORMATDETAIL::wBitsPerSample' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/audio_vorbis.c:591:12: style: Variable 'st' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf.c:202:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_PAUSED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:54:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_PAUSED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:192:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_DEMUXER_GET_DURATION [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:273:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_SEEK_SLOW [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:303:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_IS_RUNNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:340:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable info [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:351:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_IS_RUNNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:363:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable demuxer [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:373:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_IS_RUNNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:550:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_IS_RUNNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:557:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_DEMUXER_CAN_SEEK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:563:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metadata [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:582:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_DISK_NAME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:587:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_EDL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:594:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_PAUSE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:604:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable action [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:618:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:631:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_STREAM_ID_MSG_PROGRAM [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:33:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:33:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bitstream.c:90:48: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_avcc.c:53:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_PACKET_PADDING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_avcc.c:92:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H264_NAL_SPS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_avcc.c:110:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_PACKET_PADDING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_avcc.c:163:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CODEC_ID_H264 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_avcc.c:189:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/cavs_header.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAVS_CODE_SEQUENCE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/cavs_header.c:116:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/cavs_header.c:170:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_avcc.c:58:35: style: Parameter 'bsf' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_avcc.c:60:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_avcc.c:63:12: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/chapterlist.c:31:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metadata [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bgav.c:590:29: style: Parameter 'bgav' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:101:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_UTF8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:289:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:309:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CODEC_ID_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:336:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CODEC_ID_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:309:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:295:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:295:15: note: Assignment 'ret=calloc(num,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:309:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:336:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:322:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:322:15: note: Assignment 'ret=calloc(num,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:336:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:376:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:365:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:365:15: note: Assignment 'ret=calloc(num+1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:376:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:420:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:409:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:409:15: note: Assignment 'ret=calloc(num+1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:420:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2478:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTjpeg_t [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3495:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTJPEG_HEADER_SIZE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/codecs.c:103:40: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/cue.c:131:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/cue.c:358:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/cue.c:393:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/cue.c:606:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable performer [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_4xm.c:319:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_COMMENT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_4xm.c:408:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:187:10: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_string [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:186:22: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:186:22: note: Assignment 'tmp_string=malloc(len+1)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:187:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:188:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_string [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:186:22: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:186:22: note: Assignment 'tmp_string=malloc(len+1)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:188:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:211:10: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_string [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:210:22: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:210:22: note: Assignment 'tmp_string=malloc(len+1)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:211:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:212:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_string [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:210:22: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:210:22: note: Assignment 'tmp_string=malloc(len+1)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/charset.c:212:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_8svx.c:127:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_TITLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_8svx.c:222:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_8svx.c:250:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/cue.c:440:21: warning: Either the condition 'pos' is redundant or there is possible null pointer dereference: pos. [nullPointerRedundantCheck] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/cue.c:437:10: note: Assuming that condition 'pos' is not redundant gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/cue.c:440:21: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/cue.c:447:21: warning: Either the condition 'pos' is redundant or there is possible null pointer dereference: pos. [nullPointerRedundantCheck] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/cue.c:444:10: note: Assuming that condition 'pos' is not redundant gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/cue.c:447:21: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_8svx.c:284:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_8svx' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_8svx.c:297:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_8svx.c:284:49: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_8svx.c:43:7: style: struct member 'svx_priv_t::samples_per_block' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_8svx.c:44:7: style: struct member 'svx_priv_t::bytes_per_second' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_a52.c:91:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_a52.c:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adif.c:85:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adif.c:182:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_MAX_CHANNELS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_a52.c:174:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_a52' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_a52.c:187:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_a52.c:174:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adif.c:194:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_adif' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adif.c:207:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adif.c:194:49: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adif.c:43:7: style: struct member 'aac_priv_t::type' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adif.c:47:12: style: struct member 'aac_priv_t::seek_table_size' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adts.c:65:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADTS_HEADER_LEN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adts.c:89:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADTS_HEADER_LEN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adts.c:227:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADTS_HEADER_LEN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adts.c:226:16: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adts.c:271:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_adts' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adts.c:284:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_adts.c:271:49: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_4xm.c:93:41: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_4xm.c:137:48: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_4xm.c:199:48: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_4xm.c:491:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_4xm' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_4xm.c:504:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_4xm.c:491:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_aiff.c:248:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CHID_FRONT_CENTER [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_aiff.c:429:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:90:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:236:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:354:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:246:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:243:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:243:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:246:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:284:28: warning: If memory allocation fails, then there is a possible null pointer dereference: seektable [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:270:21: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:270:21: note: Assignment 'seektable=malloc(priv->h.seektablelength)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:271:16: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:284:28: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:400:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_ape' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:417:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:400:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:295:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:406:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_UTF8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:551:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_SCALE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:951:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:1003:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:1073:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ape.c:226:7: style: struct member 'ape_t::index_size' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_au.c:169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_au.c:227:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_au.c:197:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_au.c:179:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_au.c:179:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_au.c:197:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_au.c:79:15: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_au.c:88:15: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_au.c:246:47: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_au' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_au.c:259:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_au.c:246:47: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_au.c:44:7: style: struct member 'au_priv_t::bytes_per_second' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_aiff.c:82:45: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_aiff.c:121:17: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_aiff.c:132:17: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_aiff.c:405:17: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_aiff.c:451:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_aiff' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_aiff.c:464:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_aiff.c:451:49: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:420:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:841:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:880:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1019:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1153:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1218:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_BITRATE_VBR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1262:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable avih [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1570:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1830:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avs.c:107:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avs.c:308:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avs.c:281:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avs.c:281:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avs.c:308:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avs.c:317:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_avs' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avs.c:329:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avs.c:317:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_cue.c:53:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_SRC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_cue.c:122:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_SRC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_cue.c:139:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_cue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_cue.c:148:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_cue.c:139:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_daud.c:61:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_daud.c:74:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_daud.c:26:46: style: Parameter 'input' can be declared as pointer to const. However it seems that 'probe_daud' is a callback function, if 'input' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_daud.c:99:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_daud.c:26:46: note: Parameter 'input' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_daud.c:28:10: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_daud.c:93:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_daud' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_daud.c:102:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_daud.c:93:49: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:599:11: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:614:11: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:592:9: warning: If memory allocation fails, then there is a possible null pointer dereference: asf_as [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:589:25: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:589:25: note: Assignment 'asf_as=calloc(1,sizeof(*asf_as))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:592:9: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:794:56: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:891:40: style: Parameter 'asf' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:892:54: style: Parameter 'pkt_hdr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:978:34: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:1183:54: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'select_track_asf' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:1195:26: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_asf.c:1183:54: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dsicin.c:172:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dsicin.c:235:51: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_dsicin' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dsicin.c:245:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dsicin.c:235:51: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DV_HEADER_SIZE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:138:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:63:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:63:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:68:26: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:66:62: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:68:26: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:69:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:66:62: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:69:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:69:49: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:66:62: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:69:49: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:70:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:66:62: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:70:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:70:31: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:66:62: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:70:31: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:72:38: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:66:62: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:72:38: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:73:27: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:66:62: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:73:27: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:73:47: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:60:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:66:62: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:73:47: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:157:15: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:184:47: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_dv' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:203:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:184:47: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dv.c:37:11: style: struct member 'dv_priv_t::frame_pos' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:547:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:547:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:85:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:235:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flac.c:82:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flac.c:127:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAC_STREAMINFO_SIZE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1017:5: warning: If memory allocation fails, then there is a possible null pointer dereference: streams [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1013:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1013:19: note: Assignment 'streams=calloc(num_streams,sizeof(*streams))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1017:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1019:14: warning: If memory allocation fails, then there is a possible null pointer dereference: streams [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1013:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1013:19: note: Assignment 'streams=calloc(num_streams,sizeof(*streams))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1019:14: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1021:5: warning: If memory allocation fails, then there is a possible null pointer dereference: streams [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1013:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1013:19: note: Assignment 'streams=calloc(num_streams,sizeof(*streams))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1021:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1041:5: warning: If memory allocation fails, then there is a possible null pointer dereference: streams [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1013:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1013:19: note: Assignment 'streams=calloc(num_streams,sizeof(*streams))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1041:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1043:14: warning: If memory allocation fails, then there is a possible null pointer dereference: streams [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1013:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1013:19: note: Assignment 'streams=calloc(num_streams,sizeof(*streams))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1043:14: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1045:5: warning: If memory allocation fails, then there is a possible null pointer dereference: streams [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1013:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1013:19: note: Assignment 'streams=calloc(num_streams,sizeof(*streams))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1045:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1547:18: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1538:13: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1538:13: note: Assignment 'p=calloc(1,sizeof(*p))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1547:18: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:724:39: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1790:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_avi' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1954:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1790:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1863:9: warning: Uninitialized variable: ch.ckSize [uninitvar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1832:9: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:1863:9: note: Uninitialized variable: ch.ckSize gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flac.c:274:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flac.c:311:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_flac' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flac.c:329:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flac.c:311:49: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:277:12: style: struct member 'avih_t::dwStart' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_fli.c:175:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:362:7: style: struct member 'avi_priv_t::dv_frame_size' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:365:7: style: struct member 'avi_priv_t::duplicate_si' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:366:11: style: struct member 'avi_priv_t::iavs_sample_counter' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_avi.c:367:11: style: struct member 'avi_priv_t::iavs_frame_counter' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:160:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:112:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:112:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:160:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:163:15: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:112:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:112:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:163:15: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:349:54: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'select_track_dxa' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:371:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:349:54: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:360:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_dxa' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:373:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_dxa.c:360:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_fli.c:74:38: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_fli.c:70:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_fli.c:70:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_fli.c:74:38: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_fli.c:210:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_fli' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_fli.c:222:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_fli.c:210:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gsm.c:63:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gsm.c:92:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:58:13: debug: Scope::checkVariable found variable 'bool' with varid 0. [varid0] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gsm.c:116:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_gsm' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gsm.c:127:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gsm.c:116:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:165:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_P_FRAMES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:205:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:235:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_P_FRAMES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:501:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_INTERLACE_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:544:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:142:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_NO_DURATIONS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:149:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_NO_DURATIONS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:174:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_MODE_SIMPLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:270:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_HAS_DTS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:448:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:559:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:782:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:873:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:54:37: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:116:39: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:113:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:113:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:116:39: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:119:27: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:113:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:113:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:116:72: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:119:27: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:194:16: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:349:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_gif' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:362:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:349:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gif.c:54:41: style: Variable 'data' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_image.c:125:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CODEC_ID_PNG [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_image.c:171:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_image.c:183:50: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_image' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_image.c:192:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_image.c:183:50: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ircam.c:282:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_ENDIANESS_LITTLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ircam.c:387:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:490:26: warning: Either the condition 'vs' is redundant or there is possible null pointer dereference: vs. [nullPointerRedundantCheck] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:493:6: note: Assuming that condition 'vs' is not redundant gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:490:26: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:491:26: warning: Either the condition 'vs' is redundant or there is possible null pointer dereference: vs. [nullPointerRedundantCheck] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:493:6: note: Assuming that condition 'vs' is not redundant gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:491:26: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:475:10: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:479:5: note: Found duplicate branches for 'if' and 'else'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:475:10: note: Found duplicate branches for 'if' and 'else'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:536:16: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:631:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_gxf' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:645:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_gxf.c:631:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ircam.c:74:46: style: Parameter 'cptr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ircam.c:102:46: style: Parameter 'cptr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ircam.c:419:50: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_ircam' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ircam.c:430:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ircam.c:419:50: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2429:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2464:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2479:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3484:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:76:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_MPA_MAX_FRAME_BYTES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:103:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_MPA_MAX_FRAME_BYTES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:144:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:184:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_MPA_MAX_FRAME_BYTES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:258:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:332:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:423:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2479:8: warning: If memory allocation fails, then there is a possible null pointer dereference: rtj [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2478:26: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2478:8: note: Assignment 'rtj=(RTjpeg_t*)malloc(sizeof(RTjpeg_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2479:8: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:136:46: style: Parameter 'strm' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:136:75: style: Parameter 'qtbl' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:220:41: style: Parameter 'rtj' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:224:51: style: Parameter 'qtbl' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2192:12: style: Variable 'inptr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2359:49: style: Parameter 'tables' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2400:43: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2406:41: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2406:49: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2491:12: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2546:12: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2592:12: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2806:66: style: Parameter 'mask' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2822:12: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2905:12: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:2972:12: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3056:35: style: Parameter 'rtj' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3061:11: style: Variable 'bufcr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3061:19: style: Variable 'bufcb' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3102:35: style: Parameter 'rtj' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3107:11: style: Variable 'bufcr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3107:19: style: Variable 'bufcb' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3171:35: style: Parameter 'rtj' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3176:11: style: Variable 'bufcr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3176:19: style: Variable 'bufcb' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3240:35: style: Parameter 'rtj' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3245:11: style: Variable 'bufcr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3245:19: style: Variable 'bufcb' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3305:35: style: Parameter 'rtj' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3310:11: style: Variable 'bufcr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3310:19: style: Variable 'bufcb' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3370:35: style: Parameter 'rtj' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3375:11: style: Variable 'bufcr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3375:19: style: Variable 'bufcb' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/RTjpeg.c:3456:34: style: Parameter 'rtj' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:297:19: style: Same expression on both sides of '/'. [duplicateExpression] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:831:47: style: Unsigned expression 'i' can't be negative so it is unnecessary to test it. [unsignedPositive] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:507:66: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:801:19: style: Variable 'times' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:854:19: style: Variable 'as' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:991:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_flv' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:1007:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:991:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_flv.c:298:54: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:248:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:246:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:246:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:248:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:287:66: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:246:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:246:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:287:66: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:288:66: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:246:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:246:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:288:66: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:404:54: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_mpegaudio' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:438:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegaudio.c:404:54: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:133:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:194:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_B_FRAMES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:209:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_B_FRAMES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:261:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_MODE_SIMPLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:275:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_MODE_SIMPLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:387:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_MODE_SIMPLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:422:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_LANGUAGE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:478:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_STREAM_SAMPLE_TIMESCALE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:545:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_FRAMERATE_VARIABLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:563:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_UTF8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:642:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_atoms [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:677:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_TagTrackUID [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:717:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:983:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ContentEncodingType [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:1048:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_PARSE_FRAME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:1104:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MKV_KEYFRAME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:1279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:1387:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CueTime [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:75:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TS_FEC_PACKET_SIZE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:111:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:329:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:360:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegps.c:251:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegps.c:366:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_MODE_SIMPLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegps.c:389:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable START_CODE_SYSTEM_HEADER [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:142:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_TIMESTAMP_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegps.c:757:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:161:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegps.c:773:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:180:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_TIMESTAMP_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegps.c:811:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:258:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegps.c:971:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable START_CODE_PACK_HEADER [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:318:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegps.c:1093:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable START_CODE_PACK_HEADER [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:361:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:451:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_streams [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:573:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:659:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:907:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_A52_HEADER_BYTES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:941:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_MODE_SIMPLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1018:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_MODE_SIMPLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1101:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1531:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_DEMUXER_HAS_TIMESTAMP_OFFSET [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1791:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_TIMESTAMP_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1877:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_DEMUXER_CAN_SEEK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:309:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:305:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:305:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:309:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:58:39: style: Parameter 'probe_data' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:101:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:346:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:471:50: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'seek_mpegts' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:523:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:471:50: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:476:51: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_mpegts' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:524:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:476:51: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts2.c:495:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegvideo.c:125:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_MODE_SIMPLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegvideo.c:151:54: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_mpegvideo' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegvideo.c:177:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegvideo.c:151:54: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegvideo.c:159:60: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'select_track_mpegvideo' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegvideo.c:178:26: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegvideo.c:159:60: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegvideo.c:39:26: style: struct member 'mpegvideo_priv_t::parser' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegvideo.c:40:7: style: struct member 'mpegvideo_priv_t::eof' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mtv.c:163:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mtv.c:202:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mtv.c:266:54: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'select_track_mtv' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mtv.c:286:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mtv.c:266:54: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mtv.c:275:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_mtv' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mtv.c:289:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mtv.c:275:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_TRUE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:103:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:117:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:259:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_DECODER_BUFFER_LENGTH [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:289:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FRAME_LENGTH [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:834:12: style: Condition '!init_video(ctx,&p->tracks[i])' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:834:23: note: Calling function 'init_video' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:834:12: note: Condition '!init_video(ctx,&p->tracks[i])' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:838:12: style: Condition '!init_audio(ctx,&p->tracks[i])' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:838:23: note: Calling function 'init_audio' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:838:12: note: Condition '!init_audio(ctx,&p->tracks[i])' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:850:12: style: Condition '!init_subtitle(ctx,&p->tracks[i])' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:850:26: note: Calling function 'init_subtitle' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:850:12: note: Condition '!init_subtitle(ctx,&p->tracks[i])' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:717:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:715:13: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:715:13: note: Assignment 'p=calloc(1,sizeof(*p))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:717:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:123:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:179:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:348:10: style: Variable 'str' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:505:28: style: Variable 'v' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:936:47: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:974:45: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:1035:34: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:1035:53: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:1039:22: style: Variable 't' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:1081:51: style: Parameter 'bg' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:1348:53: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_matroska' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:1407:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:1348:53: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_matroska.c:61:7: style: struct member 'mkv_t::do_sync' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:131:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:131:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:133:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:133:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:134:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:134:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:135:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:135:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:136:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:136:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:137:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:137:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:139:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:139:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:147:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:147:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:209:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:209:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:210:22: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:210:22: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:225:41: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:225:41: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:226:41: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:226:41: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:234:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:124:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:234:18: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:75:42: style: Parameter 'reader' can be declared as pointer to const. However it seems that 'mpc_read' is a callback function, if 'reader' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:134:27: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:75:42: note: Parameter 'reader' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:81:41: style: Parameter 'reader' can be declared as pointer to const. However it seems that 'mpc_seek' is a callback function, if 'reader' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:133:27: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:81:41: note: Parameter 'reader' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:88:42: style: Parameter 'reader' can be declared as pointer to const. However it seems that 'mpc_tell' is a callback function, if 'reader' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:135:27: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:88:42: note: Parameter 'reader' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:94:46: style: Parameter 'reader' can be declared as pointer to const. However it seems that 'mpc_get_size' is a callback function, if 'reader' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:136:27: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:94:46: note: Parameter 'reader' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:100:44: style: Parameter 'reader' can be declared as pointer to const. However it seems that 'mpc_canseek' is a callback function, if 'reader' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:137:27: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:100:44: note: Parameter 'reader' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:296:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_mpc' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:313:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_musepack.c:296:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:73:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_VIDEO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:266:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edit_unit_byte_count [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:326:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:358:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIMECODE_DROP_FRAME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:374:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_P_FRAMES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:440:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:527:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable body_sid [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:546:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:588:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:639:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:683:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:732:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:770:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:819:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:894:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_URI [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nsv.c:304:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_SRC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nsv.c:440:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_NO_DURATIONS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nsv.c:612:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nsv.c:762:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nsv.c:832:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1189:10: style: Condition '!init_raw(ctx,input_can_seek)' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1189:19: note: Calling function 'init_raw' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1189:10: note: Condition '!init_raw(ctx,input_can_seek)' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1099:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1096:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1096:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1099:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1106:7: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1096:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1096:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1106:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1654:57: style: Checking if unsigned expression 'priv->programs[priv->current_program].pcr_pid' is less than zero. [unsignedLessThanZero] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:173:44: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:390:39: style: Parameter 'probe_data' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:427:48: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:843:58: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:845:57: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:902:19: style: Variable 'ptr_end' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1787:73: style: Parameter 's' can be declared as pointer to const. However it seems that 'resync_mpegts' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1904:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1787:73: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1835:51: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_mpegts' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1905:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegts.c:1835:51: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:261:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:257:14: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:257:14: note: Assignment 'sp=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:261:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:70:56: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:91:19: style: Variable 'tmp_stream' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:249:57: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:250:46: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:250:69: style: Parameter 'sd' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:423:20: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:493:57: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:668:47: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'seek_mxf' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:721:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:668:47: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:706:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_mxf' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:722:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:706:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:728:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mxf.c:761:27: style: Variable 'cs' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nuv.c:122:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_NO_DURATIONS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nuv.c:254:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegps.c:1100:51: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_mpegps' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegps.c:1123:23: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_mpegps.c:1100:51: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nuv.c:317:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_nuv' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nuv.c:327:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nuv.c:317:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_p2xml.c:117:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_STREAM_SAMPLE_TIMESCALE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nsv.c:535:12: style: Condition 'p->need_pcm_format' is always true [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:209:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:298:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_OGG_HEADER_TYPE_BOS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:342:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:389:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:604:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:623:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:675:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:767:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_LANGUAGE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:827:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nsv.c:778:28: style: Checking if unsigned expression 'index_position' is less than zero. [unsignedLessThanZero] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nsv.c:827:54: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'select_track_nsv' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nsv.c:848:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nsv.c:827:54: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nsv.c:837:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_nsv' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nsv.c:851:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_nsv.c:837:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_psxstr.c:115:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_psxstr.c:191:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:226:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:348:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_LANGUAGE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:426:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:526:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_MODE_SIMPLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:541:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_MODE_SIMPLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:566:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1163:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1233:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1297:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1319:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1365:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1422:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1631:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_ARTIST [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1648:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_LABEL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1704:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRAC_CODE_SEQUENCE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1779:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:2183:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_EXTERN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:2289:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:2313:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:2336:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_EXTERN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:2364:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_psxstr.c:250:51: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_psxstr' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_psxstr.c:259:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_psxstr.c:250:51: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:93:3: warning: If memory allocation fails, then there is a possible null pointer dereference: stream_priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:88:38: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:88:38: note: Assignment 'stream_priv=calloc(1,sizeof(*stream_priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:93:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:94:3: warning: If memory allocation fails, then there is a possible null pointer dereference: stream_priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:88:38: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:88:38: note: Assignment 'stream_priv=calloc(1,sizeof(*stream_priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg2.c:94:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_r3d.c:268:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_r3d.c:369:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_r3d.c:488:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_p2xml.c:39:8: style: Condition '!res' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_p2xml.c:68:8: style: Condition '!res' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_p2xml.c:37:23: warning: If resource allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfResources] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_p2xml.c:35:14: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_p2xml.c:35:14: note: Assignment 'd=opendir(dir)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_p2xml.c:37:23: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_p2xml.c:66:23: warning: If resource allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfResources] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_p2xml.c:62:14: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_p2xml.c:62:14: note: Assignment 'd=opendir(dir)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_p2xml.c:66:23: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:110:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:286:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_r3d.c:484:70: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'next_packet_r3d' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_r3d.c:513:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_r3d.c:484:70: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_r3d.c:492:35: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'seek_r3d' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_r3d.c:514:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_r3d.c:492:35: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_r3d.c:496:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_r3d' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_r3d.c:515:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_r3d.c:496:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rawaudio.c:38:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_SRC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rawaudio.c:54:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_SRC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rawaudio.c:158:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rawaudio.c:210:53: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_rawaudio' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rawaudio.c:221:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rawaudio.c:210:53: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:155:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tfhd [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:259:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable media_time [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:289:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable media_time [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:375:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:439:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:492:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:846:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_UTF8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1043:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1145:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1281:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_LANGUAGE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1450:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable samples_per_chunk [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1638:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fourcc [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1805:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fourcc [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1838:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_STREAM_SAMPLE_TIMESCALE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1897:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_URI [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1946:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stream_id [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:2018:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:2197:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:2273:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:104:10: warning: If memory allocation fails, then there is a possible null pointer dereference: audio_header [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:103:24: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:103:24: note: Assignment 'audio_header=malloc(hdr_size)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:104:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:117:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:114:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:114:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:117:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:276:15: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:305:47: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_ra' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:317:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:305:47: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ra.c:34:12: style: struct member 'ra_priv_t::data_start' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_roq.c:99:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_roq.c:203:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:67:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:173:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_P [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:192:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:218:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:243:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:511:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_NO_DURATIONS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:704:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_logical_stream [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:799:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mdpr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:1063:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:1427:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:1609:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_roq.c:293:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_roq' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_roq.c:302:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_roq.c:293:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_shorten.c:56:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_shorten.c:68:52: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_shorten' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_shorten.c:77:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_shorten.c:68:52: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smacker.c:359:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smacker.c:439:58: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'select_track_smacker' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smacker.c:464:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smacker.c:439:58: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smacker.c:448:52: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_smacker' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smacker.c:466:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smacker.c:448:52: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smaf.c:107:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smaf.c:212:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smaf.c:150:33: style: Variable 's->data.audio.bits_per_sample' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smaf.c:148:33: note: s->data.audio.bits_per_sample is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smaf.c:150:33: note: s->data.audio.bits_per_sample is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smaf.c:203:17: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smaf.c:230:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_smaf' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smaf.c:244:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smaf.c:230:49: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smjpeg.c:129:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_FRAMERATE_VARIABLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smjpeg.c:158:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smjpeg.c:188:51: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_smjpeg' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smjpeg.c:198:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_smjpeg.c:188:51: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sol.c:151:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:449:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rm_as [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:316:17: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:316:17: note: Assignment 'rm_as=calloc(1,sizeof(*rm_as))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:449:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:489:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rm_as [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:473:17: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:473:17: note: Assignment 'rm_as=calloc(1,sizeof(*rm_as))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:489:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:789:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:786:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:786:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:789:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:727:22: style: Checking if unsigned expression '*data_start' is less than zero. [unsignedLessThanZero] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:741:26: style: Checking if unsigned expression '*data_start' is less than zero. [unsignedLessThanZero] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:1319:19: style: Local variable 'x' shadows outer variable [shadowVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:1266:7: note: Shadowed declaration gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:1319:19: note: Shadow variable gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sol.c:82:10: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sol.c:83:5: note: Found duplicate branches for 'if' and 'else'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sol.c:82:10: note: Found duplicate branches for 'if' and 'else'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:307:18: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:506:18: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:860:23: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:868:23: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:1050:59: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:1259:60: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:1641:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_rmff' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:1704:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:1641:49: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sol.c:52:60: style: Parameter 'bits' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sol.c:159:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_sol' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sol.c:168:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sol.c:159:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:947:14: style: struct member 'dp_hdr_s::chunks' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sphere.c:242:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sphere.c:333:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:950:14: style: struct member 'dp_hdr_s::chunktab' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_rm.c:333:9: style: Variable 'len' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:103:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:219:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_UTF8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:64:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:127:18: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:222:3: warning: If memory allocation fails, then there is a possible null pointer dereference: srt [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:211:23: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:211:23: note: Assignment 'srt=calloc(1,sizeof(*srt))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:222:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:223:3: warning: If memory allocation fails, then there is a possible null pointer dereference: srt [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:211:23: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:211:23: note: Assignment 'srt=calloc(1,sizeof(*srt))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:223:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:82:10: style: Variable 'str' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:231:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_srt' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:245:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_srt.c:231:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sphere.c:169:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sphere.c:69:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sphere.c:105:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sphere.c:135:12: style: Variable 'str' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sphere.c:366:51: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_sphere' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sphere.c:377:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_sphere.c:366:51: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_thp.c:137:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_thp.c:237:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:160:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_FRAMERATE_VARIABLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:209:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1099:20: style: Condition 'result<0' is always true [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1083:8: note: Assuming that condition '!result' is not redundant gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1099:20: note: Condition 'result<0' is always true gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:561:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ogg_track [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:560:21: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:560:21: note: Assignment 'ogg_track=calloc(1,sizeof(*ogg_track))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:561:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1719:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1013:23: style: Local variable 's' shadows outer variable [shadowVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:550:19: note: Shadowed declaration gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1013:23: note: Shadow variable gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:467:44: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:512:48: style: Parameter 's' can be declared as pointer to const. However it seems that 'cleanup_stream_ogg' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:540:16: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:512:48: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1013:23: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1158:18: style: Variable 'track_priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1260:19: style: Variable 'stream_priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1303:18: style: Variable 'track_priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1363:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1376:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1658:36: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1679:19: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:2115:18: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:2236:18: style: Variable 'track_priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:2237:19: style: Variable 'stream_priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:2287:23: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:2358:18: style: Variable 'track_priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:121:11: style: struct member 'stream_priv_t::page_pos' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:147:7: style: struct member 'ogg_t::packet_valid' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ogg.c:1616:14: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_thp.c:298:54: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'select_track_thp' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_thp.c:318:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_thp.c:298:54: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_thp.c:307:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_thp' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_thp.c:320:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_thp.c:307:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:225:38: error: Array 'fh.offset_table[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:221:7: note: After for loop, j has value 4 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:225:38: note: Array index out of bounds gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:171:5: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:133:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:133:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:165:60: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:171:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:172:9: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:133:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:133:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:165:60: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:172:9: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:185:34: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:295:52: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_tiertex' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:331:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:295:52: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:309:58: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'select_track_tiertex' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:329:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tiertex.c:309:58: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:145:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:164:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:121:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:121:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:122:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:122:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:122:40: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:122:40: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:123:23: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:123:23: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:124:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:124:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:124:29: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:124:29: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:128:47: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:128:47: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:131:27: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:131:27: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:132:6: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:132:6: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:135:30: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:131:55: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:135:30: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:138:18: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:118:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:131:55: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:138:18: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:206:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_tta' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:225:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_tta.c:206:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vmd.c:105:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vmd.c:255:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vivo.c:302:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vivo.c:461:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_NO_DURATIONS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vivo.c:527:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_voc.c:232:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_voc.c:261:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vmd.c:115:39: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vmd.c:112:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vmd.c:112:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vmd.c:115:39: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vmd.c:291:54: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'select_track_vmd' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vmd.c:310:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vmd.c:291:54: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vmd.c:299:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_vmd' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vmd.c:312:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vmd.c:299:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vivo.c:133:29: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_voc.c:308:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_voc' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_voc.c:323:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_voc.c:308:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vivo.c:602:23: style: Variable 'as' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vivo.c:635:55: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'select_track_vivo' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vivo.c:656:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vivo.c:635:55: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vivo.c:643:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_vivo' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vivo.c:658:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vivo.c:643:49: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:223:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wav.c:151:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wav.c:213:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vtt.c:82:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vtt.c:116:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_DEMUXER_DISCONT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vtt.c:394:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wav.c:273:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_wav' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wav.c:290:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wav.c:273:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wav.c:39:7: style: struct member 'wav_priv_t::have_info' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wavpack.c:165:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wavpack.c:212:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wavpack.c:291:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:151:39: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:144:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:144:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:151:39: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:156:28: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:144:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:144:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:152:44: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:156:28: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:170:32: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:144:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:144:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:152:44: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:170:32: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vtt.c:120:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vtt.c:113:24: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vtt.c:113:24: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vtt.c:120:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vtt.c:219:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:257:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_vqa' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:270:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:257:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vtt.c:198:49: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vtt.c:285:68: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vtt.c:479:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_vtt' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vtt.c:491:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vtt.c:479:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_vqa.c:116:12: style: struct member 'vqa_priv_t::video_pts' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wve.c:94:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wve.c:189:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_y4m.c:134:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_INTERLACE_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_y4m.c:249:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_y4m.c:313:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_y4m' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_y4m.c:328:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_y4m.c:313:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_y4m.c:37:13: style: struct member 'y4m_t::tmp_planes' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wve.c:229:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_wve' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wve.c:238:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_wve.c:229:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/device.c:44:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable device [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/device.c:69:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable device [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/device.c:88:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable device [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/dirac_header.c:39:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRAC_CODE_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:240:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_SRC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:352:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_index_position [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:388:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_index_position [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:398:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:437:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_DEMUXER_NONINTERLEAVED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:507:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_DEMUXER_NONINTERLEAVED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:665:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:746:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable action [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:778:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable action [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:798:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:823:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:889:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_DEMUXER_HAS_CLOCK_TIME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:937:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_DEMUXER_STREAM_ID_RAW [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/dvb_channels.c:137:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/dvb_channels.c:246:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/dvb_channels.c:399:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/dvb_channels.c:410:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/dirac_header.c:49:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/dvb_channels.c:270:5: error: Common realloc mistake: 'ret' nulled but not freed upon failure [memleakOnRealloc] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/dvframe.c:444:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SAMPLE_S16 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/dvframe.c:468:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/dvframe.c:483:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIMECODE_DROP_FRAME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:315:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:314:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:314:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:315:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:316:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:314:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:314:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:316:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:317:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:314:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:314:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:317:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:320:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:314:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:314:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:320:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:322:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:314:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:314:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:322:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:459:9: style: Variable 'idx' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:444:9: note: idx is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demuxer.c:459:9: note: idx is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:50:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_VIDEO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:110:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:207:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_PACKET_KEYFRAME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:389:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_FRAMERATE_CONSTANT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:496:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_FRAMERATE_CONSTANT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:560:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:589:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:726:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_REG [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:805:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_streams [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:839:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:877:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:900:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_DEMUXER_BUILD_INDEX [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:940:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_PARSE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:972:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_PARSE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:1000:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_DEMUXER_BUILD_INDEX [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:1049:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:1069:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/flac_header.c:61:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/flac_header.c:79:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CHID_FRONT_CENTER [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/flac_header.c:509:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sample_number [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/flac_header.c:523:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/flac_header.c:277:58: style: Parameter 'si' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/flac_header.c:481:61: style: Parameter 'h1' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/flac_header.c:482:61: style: Parameter 'h2' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:720:8: style: Condition '!res' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:1008:10: style: Condition '!build_file_index_si_parse_audio(b,i,j)' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:1008:42: note: Calling function 'build_file_index_si_parse_audio' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:1008:10: note: Condition '!build_file_index_si_parse_audio(b,i,j)' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:1018:10: style: Condition '!build_file_index_si_parse_video(b,i,j)' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:1018:42: note: Calling function 'build_file_index_si_parse_video' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:1018:10: note: Condition '!build_file_index_si_parse_video(b,i,j)' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:732:9: error: Common realloc mistake: 'files' nulled but not freed upon failure [memleakOnRealloc] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:468:11: error: Memory leak: ret.tt [memleak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:334:21: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:797:17: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:797:17: note: Assignment 'output=fopen(filename,"w")', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:812:14: note: Calling function 'write_32', 1st argument 'output' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:334:21: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:349:11: warning: If resource allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfResources] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:797:17: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:797:17: note: Assignment 'output=fopen(filename,"w")', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:800:32: note: Calling function 'bgav_file_index_write_header', 2nd argument 'output' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:349:11: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:350:11: warning: If resource allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfResources] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:797:17: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:797:17: note: Assignment 'output=fopen(filename,"w")', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:800:32: note: Calling function 'bgav_file_index_write_header', 2nd argument 'output' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:350:11: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:479:45: style: Parameter 'idx' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:479:66: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:542:59: style: Parameter 'demuxer' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/fileindex.c:996:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/formattracker.c:57:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_FRAMERATE_CONSTANT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/formattracker.c:134:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/formattracker.c:147:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/formattracker.c:211:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_FRAMERATE_VARIABLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/frametype.c:48:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/frametype.c:91:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/frametype.c:121:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/frametype.c:148:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_AGAIN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/frametype.c:189:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/frametype.c:230:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/formattracker.c:192:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/formattracker.c:190:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/formattracker.c:190:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/formattracker.c:192:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/formattracker.c:37:19: style: struct member 'bgav_video_format_tracker_s::output_packet' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/dvframe.c:394:58: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/frametype.c:208:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/frametype.c:207:43: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/frametype.c:207:43: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/frametype.c:208:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:78:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_SRC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:114:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable url [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:204:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable duration [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:285:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_DEBUG [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:348:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:439:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seq [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/http.c:106:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVF_IO_SOCKET_DO_CLOSE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/http.c:254:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/http.c:515:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/h264_header.c:459:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/http.c:83:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/http.c:82:17: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/http.c:82:17: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/http.c:83:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/http.c:88:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/http.c:82:17: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/http.c:82:17: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/http.c:88:6: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/http.c:696:45: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/http.c:701:38: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:255:10: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:254:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:254:15: note: Assignment 'buf=malloc(len)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:255:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:330:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:329:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:329:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:330:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:257:43: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:254:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:254:15: note: Assignment 'buf=malloc(len)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/hls.c:257:43: note: Null pointer addition gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:164:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:73:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_UTF8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:186:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_TITLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:130:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:129:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:129:15: note: Assignment 'ret=malloc(len)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:130:4: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:137:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:129:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:129:15: note: Assignment 'ret=malloc(len)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:137:12: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:138:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:129:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:129:15: note: Assignment 'ret=malloc(len)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:138:12: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:145:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:129:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:129:15: note: Assignment 'ret=malloc(len)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:145:14: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:146:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:129:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:129:15: note: Assignment 'ret=malloc(len)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:146:14: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:150:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:129:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:129:15: note: Assignment 'ret=malloc(len)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:150:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/httpheader.c:198:10: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:78:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:78:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:81:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:81:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:84:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:84:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:87:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:87:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:90:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:90:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:91:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:91:6: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:91:29: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:91:29: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:93:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:75:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:93:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v1.c:43:10: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:100:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_SRC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:82:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:81:20: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:81:20: note: Assignment 'c=calloc(1,sizeof(*c))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:82:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:83:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:81:20: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:81:20: note: Assignment 'c=calloc(1,sizeof(*c))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:83:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:36:53: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'read_callbacks' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:68:18: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:36:53: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:43:59: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'seek_byte_callbacks' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:61:18: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:43:59: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:50:55: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_callbacks' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:69:18: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_cb.c:50:55: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/h264_header.c:260:6: style: Condition '&vui->bitstream_restriction_flag' is always true [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_dvb_linux.c:1508:28: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/h264_header.c:60:46: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_dvd.c:1390:28: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:128:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:341:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_ID3V2_DETECT_LEN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:373:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_UTF8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:764:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fourcc [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:902:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_UTF8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:966:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_TITLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:1150:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:1171:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:66:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_MIMETYPE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:59:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:57:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:57:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:59:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:60:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:57:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:57:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:60:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:62:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:58:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:58:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:62:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:63:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:57:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:57:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:63:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:32:42: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'read_fd' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:48:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:32:42: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:35:15: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:39:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_fd' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:49:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_fd.c:39:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_file.c:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_file.c:124:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_file.c:128:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_stdin' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_file.c:147:18: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_file.c:128:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_dvdnav.c:54:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_dvdnav.c:137:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DVDNAV_STATUS_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_dvdnav.c:498:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DVDNAV_STATUS_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_ftp.c:163:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1213:7: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:167:10: warning: Either the condition 's' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:208:12: note: Assuming that condition 's' is not redundant gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:167:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1072:14: style: Variable 'p->buf.len' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1059:16: note: p->buf.len is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1072:14: note: p->buf.len is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_dvdnav.c:576:46: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_dvd' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_dvdnav.c:591:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_dvdnav.c:576:46: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_ftp.c:175:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_ftp.c:171:13: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_ftp.c:171:13: note: Assignment 'p=calloc(1,sizeof(*p))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_ftp.c:175:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:2188:83: style:inconclusive: Function 'handle_emsg' argument 3 names different: declaration 'metadata' definition 'm_msg'. [funcArgNamesDifferent] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:35:83: note: Function 'handle_emsg' argument 3 names different: declaration 'metadata' definition 'm_msg'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:2188:83: note: Function 'handle_emsg' argument 3 names different: declaration 'metadata' definition 'm_msg'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_ftp.c:148:10: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:47:45: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:48:41: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:149:15: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:155:17: style: Variable 'tfhd' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:286:37: style: Parameter 'trak' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1135:15: style: Variable 'stsc' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1270:15: style: Variable 'moov' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1444:15: style: Variable 'moov' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1820:62: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1933:19: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:88:11: style: struct member 'stream_priv_t::stsd_pos' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:55:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:117:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_SRC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:229:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_REAL_URI [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:291:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_MSG_SRC_RESTART_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:96:11: style: struct member 'stream_priv_t::stsd_count' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:116:7: style: struct member 'qt_priv_t::seeking' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:122:7: style: struct member 'qt_priv_t::mdats_alloc' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:496:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:483:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:483:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:496:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:657:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:656:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:656:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:657:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:753:68: style:inconclusive: Function 'bgav_id3v2_find_frame' argument 2 names different: declaration 'fourccs' definition 'fourcc'. [funcArgNamesDifferent] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:112:68: note: Function 'bgav_id3v2_find_frame' argument 2 names different: declaration 'fourccs' definition 'fourcc'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:753:68: note: Function 'bgav_id3v2_find_frame' argument 2 names different: declaration 'fourccs' definition 'fourcc'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:104:46: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:408:10: style: Variable 'data_end' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:431:12: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:533:33: style: Parameter 'probe_data' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_quicktime.c:1785:17: style: Variable 'stream_priv' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:93:14: style: struct member 'Anonymous2::num_flags' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/id3v2.c:419:11: style: Variable 'end_pos' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:119:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:133:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:153:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:244:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:498:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:521:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_ID3V2_DETECT_LEN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:609:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:674:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STATE_SRC_SEEK_WINDOW_START [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:710:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:957:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:988:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1017:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_URL_VAR_CLOCK_TIME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1079:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1129:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1189:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1261:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:84:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:78:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:78:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:84:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:85:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:78:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:78:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:85:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:150:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:146:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:146:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:150:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:151:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:146:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:146:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:151:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:152:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:146:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:146:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:152:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:78:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:37:43: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'read_mem' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:68:18: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:37:43: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:51:53: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'seek_byte_mem' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:69:18: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:51:53: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:59:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_mem' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:135:18: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_memory.c:59:49: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:61:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:56:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:56:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:61:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:62:7: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:56:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:56:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:62:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:94:5: warning: If memory allocation fails, then there is a possible null pointer dereference: stream_ids [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:89:22: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:89:22: note: Assignment 'stream_ids=malloc(num_streams*sizeof(int))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:94:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:100:5: warning: If memory allocation fails, then there is a possible null pointer dereference: stream_ids [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:89:22: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:89:22: note: Assignment 'stream_ids=malloc(num_streams*sizeof(int))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:100:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:54:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:124:42: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:172:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_mms' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:187:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mms.c:172:49: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:117:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:215:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:207:13: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:207:13: note: Assignment 'p=calloc(1,sizeof(*p))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:215:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:217:33: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:207:13: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:207:13: note: Assignment 'p=calloc(1,sizeof(*p))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:217:33: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:219:29: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:207:13: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:207:13: note: Assignment 'p=calloc(1,sizeof(*p))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:219:29: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:255:54: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'seek_byte_http' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:454:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:255:54: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:264:47: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'pause_http' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:456:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:264:47: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:271:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'resume_http' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:457:23: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:271:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:298:58: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:436:47: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_http' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:459:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:436:47: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:307:8: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_http.c:47:11: style: struct member 'http_priv::bytes_read' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_pnm.c:44:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_pnm.c:42:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_pnm.c:42:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_pnm.c:44:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_pnm.c:88:47: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'read_pnm' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_pnm.c:120:18: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_pnm.c:88:47: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_pnm.c:104:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_pnm' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_pnm.c:121:18: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_pnm.c:104:49: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_smb.c:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:117:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:105:13: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:105:13: note: Assignment 'p=calloc(1,sizeof(*p))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:117:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:119:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:105:13: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:105:13: note: Assignment 'p=calloc(1,sizeof(*p))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:119:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:50:44: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:291:47: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_mmsh' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:304:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:291:47: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_mmsh.c:102:29: style: Unused variable: res [unusedVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_smb.c:116:11: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_smb.c:133:43: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'read_smb' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_smb.c:189:18: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_smb.c:133:43: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_smb.c:161:53: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'seek_byte_smb' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_smb.c:190:18: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_smb.c:161:53: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_smb.c:176:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_smb' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_smb.c:191:18: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_smb.c:176:49: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/keyframetable.c:58:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/keyframetable.c:80:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stream_id [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/keyframetable.c:136:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pts [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/keyframetable.c:72:71: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:265:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:331:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_DEBUG [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:406:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable media [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:425:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_DEBUG [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:538:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:770:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bgav_demuxer_rtp [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:885:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:166:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_UTF8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:212:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_PAUSED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:274:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_PAUSED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:302:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_PAUSED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:846:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:929:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:963:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1029:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1151:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1166:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_SCALE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1290:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1296:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1302:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1309:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1315:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1321:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1327:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:215:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:222:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MKV_ID_Void [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:253:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MKV_ID_EBML [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:357:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SeekID [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:385:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SeekID [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:473:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:552:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:640:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:780:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1074:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1406:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MKV_FlagInterlaced [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1531:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MKV_FlagEnabled [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1673:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1885:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1932:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1955:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_tracks [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:2047:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:2089:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MKV_ID_Block [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:2116:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:2185:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:493:22: error: Invalid tolower() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:311:14: style: Condition 'lines[idx]' is always true [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:504:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1011:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1011:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1012:20: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1012:20: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1020:6: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1020:6: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1027:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1027:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1028:38: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1028:38: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1030:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1030:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1031:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1031:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1033:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1033:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1034:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1034:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1042:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1006:29: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1042:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:109:62: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:117:66: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:131:64: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:198:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:663:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1148:46: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'pause_hls' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1428:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1148:46: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1237:48: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'can_read_hls' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1427:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1237:48: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1384:46: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_hls' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1430:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_hls.c:1384:46: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1779:9: error: Common realloc mistake: 'ret' nulled but not freed upon failure [memleakOnRealloc] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:329:55: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:399:56: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:448:56: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:476:61: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:486:53: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:594:53: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:665:49: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:715:47: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:802:51: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:865:44: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:923:45: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:967:53: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1096:60: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1165:60: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1296:57: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1364:58: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1395:50: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1471:50: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1508:46: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1765:47: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1801:52: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1848:68: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:1966:48: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:2064:47: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/matroska.c:2131:52: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/metadata.c:31:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_AUTHOR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/metadata.c:36:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_TITLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/metadata.c:41:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_COMMENT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/metadata.c:46:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_COPYRIGHT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/metadata.c:51:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_ALBUM [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/metadata.c:56:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_ARTIST [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/metadata.c:61:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_ALBUMARTIST [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/metadata.c:66:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_GENRE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/metadata.c:71:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_DATE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/metadata.c:80:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_TRACKNUMBER [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:82:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:253:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:372:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:394:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:425:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_UTF8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:443:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:439:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:439:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:443:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:450:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:439:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:439:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:450:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:452:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:439:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:439:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:452:6: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:226:9: style: Variable 'i_tmp' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:224:9: note: i_tmp is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:226:9: note: i_tmp is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:229:9: style: Variable 'i_tmp' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:226:9: note: i_tmp is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:229:9: note: i_tmp is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:237:9: style: Variable 'i_tmp' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:235:9: note: i_tmp is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:237:9: note: i_tmp is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:243:9: style: Variable 'i_tmp' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:241:9: note: i_tmp is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:243:9: note: i_tmp is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:344:16: style: Variable 'i_tmp1' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:341:16: note: i_tmp1 is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:344:16: note: i_tmp1 is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:361:16: style: Variable 'i_tmp1' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:358:16: note: i_tmp1 is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:361:16: note: i_tmp1 is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:640:9: style: Variable 'i_tmp' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:636:9: note: i_tmp is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:640:9: note: i_tmp is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:644:9: style: Variable 'i_tmp' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:640:9: note: i_tmp is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:644:9: note: i_tmp is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:653:9: style: Variable 'i_tmp' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:649:9: note: i_tmp is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:653:9: note: i_tmp is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:655:9: style: Variable 'i_tmp' is reassigned a value before the old one has been used. [redundantAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:653:9: note: i_tmp is assigned gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:655:9: note: i_tmp is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:388:15: style: Variable 'digit' can be declared as const array [constVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:743:44: style: Parameter 'mms' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:139:7: style: struct member 'bgav_mms_s::data_size' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:125:9: style: struct member 'Anonymous0::padded_data_len' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:344:42: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mms.c:361:42: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpa_header.c:122:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPEG_VERSION_1 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpa_header.c:170:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHANNEL_STEREO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpa_header.c:111:47: style: Parameter 'h1' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpa_header.c:111:71: style: Parameter 'h2' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpa_header.c:148:61: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpeg4_header.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPEG4_CODE_VO_START [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpeg4_header.c:315:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:1354:17: style: Condition 'xor_table!=NULL' is always true [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:170:11: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:849:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:848:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:848:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:849:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:292:53: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:404:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:674:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:937:47: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_rtsp' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:1021:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:937:47: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/in_rtsp.c:154:12: style: Variable 'size' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpeg4_header.c:54:60: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpegts_common.c:147:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpegts_common.c:187:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpegts_common.c:237:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_number [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpegts_common.c:257:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_number [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpegts_common.c:421:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpv_header.c:125:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPEG_CODE_SEQUENCE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpv_header.c:246:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpv_header.c:310:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpv_header.c:454:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_YUV_420_P [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpv_header.c:421:61: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpv_header.c:450:74: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1150:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1148:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1148:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1150:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1151:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1148:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1148:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1151:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1152:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1148:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1148:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:1152:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:100:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:147:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:484:33: style: Parameter 'cptr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:512:33: style: Parameter 'cptr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:578:34: style: Parameter 'cptr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:610:34: style: Parameter 'cptr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/input.c:207:21: style: Variable 'bytes_to_copy' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/nanosoft.c:124:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_WAVEFORMAT_WAVEFORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/nanosoft.c:274:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_WAVEFORMAT_WAVEFORMATEX [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/nanosoft.c:622:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_ARTIST [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/ogg_header.c:40:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/ogg_header.c:174:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/ogg_header.c:189:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mpegts_common.c:378:13: style: Variable 'ptr_end' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:246:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:421:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_IS_RUNNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:444:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_STREAM_ID_MSG_PROGRAM [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:469:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STATE_SRC_METADATA [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:480:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STATE_SRC_SEEK_WINDOW_START [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/opus_header.c:126:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CHID_AUX [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:234:10: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:259:29: note: Calling function 'bgav_options_set_defaults', 1st argument 'ret' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:234:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:235:3: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:259:29: note: Calling function 'bgav_options_set_defaults', 1st argument 'ret' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:235:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:236:3: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:259:29: note: Calling function 'bgav_options_set_defaults', 1st argument 'ret' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:236:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:237:3: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:259:29: note: Calling function 'bgav_options_set_defaults', 1st argument 'ret' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:237:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:238:3: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:259:29: note: Calling function 'bgav_options_set_defaults', 1st argument 'ret' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:238:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:239:3: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:259:29: note: Calling function 'bgav_options_set_defaults', 1st argument 'ret' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:239:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:240:3: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:259:29: note: Calling function 'bgav_options_set_defaults', 1st argument 'ret' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:240:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:241:3: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:259:29: note: Calling function 'bgav_options_set_defaults', 1st argument 'ret' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:241:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:243:3: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:259:29: note: Calling function 'bgav_options_set_defaults', 1st argument 'ret' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:243:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:245:3: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:258:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:259:29: note: Calling function 'bgav_options_set_defaults', 1st argument 'ret' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:245:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:52:53: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:56:54: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:60:54: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:89:54: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:93:54: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:97:54: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:102:62: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:135:54: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:187:45: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/options.c:199:48: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/os.c:44:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packet.c:49:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_PACKET_PADDING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packet.c:58:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_PACKET_PADDING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:113:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uid [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:127:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_package_refs [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:417:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:558:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_UTF8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:615:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:664:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:702:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable localTag [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:715:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable localTag [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:761:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable localTag [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:848:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXF_TYPE_SOURCE_PACKAGE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:955:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXF_TYPE_SOURCE_PACKAGE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:984:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXF_TYPE_TRACK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:998:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sequence [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1108:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1213:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1246:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1256:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXF_TYPE_SEQUENCE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1320:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1339:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXF_TYPE_SOURCE_CLIP [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1506:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1562:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXF_TYPE_DESCRIPTOR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1857:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXF_TYPE_IDENTIFICATION [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2009:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable localTag [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2115:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2170:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2311:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable content_storage [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2370:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable content_storage [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2407:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2508:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mxf_content_storage_t [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2629:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2736:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2814:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2901:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable operational_pattern [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2930:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable operational_pattern [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packetbuffer.c:37:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packetbuffer.c:36:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packetbuffer.c:36:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packetbuffer.c:37:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packetbuffer.c:69:60: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packetbuffer.c:90:56: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_a52.c:37:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_A52_HEADER_BYTES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_a52.c:52:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARSER_HAS_HEADER [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_aac.c:53:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARSER_NEED_DATA [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:67:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:147:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable duration [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:159:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:191:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:224:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_B [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:264:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable duration [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:287:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:310:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable duration [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:323:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:401:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:417:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:447:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:535:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:557:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:573:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:619:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/nanosoft.c:366:69: style: Parameter 'bh' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/nanosoft.c:471:25: style: Variable 'end_ptr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_aac.c:139:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_aac.c:136:29: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_aac.c:136:29: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_aac.c:139:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_aac.c:120:47: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'cleanup_aac' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_aac.c:144:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_aac.c:120:47: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_aac.c:128:45: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'reset_aac' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_aac.c:145:19: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_aac.c:128:45: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/nanosoft.c:155:15: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/nanosoft.c:166:15: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_adts.c:58:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARSER_HAS_HEADER [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dca.c:52:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARSER_HAS_HEADER [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dca.c:136:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DTS_CHANNEL_MASK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dca.c:127:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dca.c:126:24: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dca.c:126:24: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dca.c:127:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dca.c:116:48: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'cleanup_dca' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dca.c:130:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dca.c:116:48: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_cavs.c:51:47: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'reset_cavs' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_cavs.c:212:19: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_cavs.c:51:47: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_cavs.c:114:15: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dv.c:41:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dv.c:97:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dv.c:96:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dv.c:96:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dv.c:97:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dv.c:86:47: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'cleanup_dv' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dv.c:100:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dv.c:86:47: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:88:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_INTERLACE_TOP_FIRST [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:154:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:202:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:62:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:207:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_YUVA_32 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:572:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:571:37: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:571:37: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:572:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:573:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:571:37: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:571:37: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:573:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:574:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:571:37: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:571:37: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:574:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:583:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:571:37: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:571:37: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:583:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:205:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:202:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:202:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:205:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/packettimer.c:159:27: style: Variable 'st' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:36:51: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'cleanup_dvdsub' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:213:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:36:51: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:42:50: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'reset_dvdsub' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:214:19: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:42:50: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:49:54: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'parse_frame_dvdsub' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:212:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dvdsub.c:49:54: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:201:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:185:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:185:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:201:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:202:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:185:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:185:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:202:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:204:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:185:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:185:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:204:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:49:48: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'reset_dirac' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:208:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:49:48: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_dirac.c:102:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_flac.c:48:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAC_FRAMEHEADER_MAX [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_flac.c:70:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAC_FRAMEHEADER_MIN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_flac.c:97:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_flac.c:65:52: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'parse_frame_flac' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_flac.c:109:33: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_flac.c:65:52: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_flac.c:84:49: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'cleanup_flac' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_flac.c:111:33: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_flac.c:84:49: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_jpeg.c:104:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_PIXELFORMAT_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_jpeg.c:142:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:152:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_INTERLACE_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:402:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H264_NAL_NON_IDR_SLICE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_jpeg.c:124:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:482:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H264_NAL_ACCESS_UNIT_DEL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:572:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_FIELD_PICTURES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:657:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_STREAM_PACKET_TIMESCALE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:844:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H264_NAL_SPS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:913:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_INTERLACE_UNKNOWN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_jpeg.c:154:49: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'cleanup_jpeg' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_jpeg.c:166:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_jpeg.c:154:49: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_jpeg.c:71:13: style: Variable 'len' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpegaudio.c:149:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARSER_HAS_HEADER [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpeg4.c:67:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_PARSE_FULL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpeg4.c:130:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpeg4.c:240:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_PACKET_NOOUTPUT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:98:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_FRAMERATE_STILL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:207:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_FRAMERATE_STILL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:457:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_B_FRAMES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpeg4.c:458:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpeg4.c:455:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpeg4.c:455:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpeg4.c:458:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpeg4.c:92:48: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'reset_mpeg4' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpeg4.c:468:19: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpeg4.c:92:48: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_png.c:57:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:239:27: style: Condition '!extract_header(parser,p,sc)' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:239:42: note: Calling function 'extract_header' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:239:27: note: Condition '!extract_header(parser,p,sc)' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:331:22: style: Condition '!extract_header(parser,p,sc)' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:331:37: note: Calling function 'extract_header' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:331:22: note: Condition '!extract_header(parser,p,sc)' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:450:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:448:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:448:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:450:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:933:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:907:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:907:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:933:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_png.c:72:48: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'cleanup_png' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_png.c:84:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_png.c:72:48: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:180:7: style: Redundant initialization for 'end'. The initialized value is overwritten before it is read. [redundantInitialization] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:168:23: note: end is initialized gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:180:7: note: end is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:53:49: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'reset_mpeg12' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:454:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_mpv.c:53:49: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:72:45: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:89:47: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'reset_h264' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:911:19: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:89:47: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:96:49: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'cleanup_h264' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:910:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:96:49: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_speex.c:64:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable speex_mode_list [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:66:7: style: struct member 'h264_priv_t::is_avc' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_speex.c:41:48: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'reset_speex' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_speex.c:55:19: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_speex.c:41:48: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_h264.c:840:16: style: Variable 'nh.ref_idc' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_theora.c:50:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_theora.c:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vorbis.c:100:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:86:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROFILE_ADVANCED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:205:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROFILE_ADVANCED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vorbis.c:41:54: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'parse_frame_vorbis' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vorbis.c:140:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vorbis.c:41:54: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vorbis.c:69:51: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'cleanup_vorbis' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vorbis.c:141:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vorbis.c:69:51: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vorbis.c:77:49: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'reset_vorbis' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vorbis.c:142:19: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vorbis.c:77:49: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_theora.c:71:51: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'cleanup_theora' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_theora.c:183:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_theora.c:71:51: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_theora.c:36:18: style: struct member 'theora_priv_t::ts' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vp8.c:31:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_PACKET_NOOUTPUT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:252:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:250:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:250:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:252:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:58:50: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:232:48: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'cleanup_vc1' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:256:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:232:48: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:240:46: style: Parameter 'parser' can be declared as pointer to const. However it seems that 'reset_vc1' is a callback function, if 'parser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:257:19: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:240:46: note: Parameter 'parser' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vp9.c:78:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_P [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parse_vc1.c:158:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pes_header.c:49:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pes_header.c:232:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pes_header.c:252:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:124:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:152:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:189:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SINK_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:220:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:319:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_STREAM_PACKET_TIMESCALE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:377:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_PARSE_FULL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:414:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARSER_HAS_SYNC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pngreader.c:140:0: error: failed to evaluate #if condition, undefined function-like macro invocation: BGAV_MAKE_BUILD( ... ) [preprocessorErrorDirective] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pngreader.c:140:2: error: failed to evaluate #if condition, undefined function-like macro invocation: BGAV_MAKE_BUILD( ... ) [preprocessorErrorDirective] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:313:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:313:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:314:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:314:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:315:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:315:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:315:51: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:315:51: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:316:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:316:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:316:51: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:316:51: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:317:40: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:317:40: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:319:31: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:319:31: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:321:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:321:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:322:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:322:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:323:40: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:308:19: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:323:40: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:253:23: style: Local variable 'pkt' shadows outer argument [shadowArgument] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:201:75: note: Shadowed declaration gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/parser.c:253:23: note: Shadow variable gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/ptscache.c:31:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTS_CACHE_SIZE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/ptscache.c:50:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTS_CACHE_SIZE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/ptscache.c:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTS_CACHE_SIZE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/ptscache.c:92:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTS_CACHE_SIZE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/ptscache.c:105:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable used [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/ptscache.c:126:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable duration [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/ptscache.c:140:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/ptscache.c:65:42: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_atom.c:86:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_DEBUG [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_atom.c:113:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_atom.c:66:43: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_atom.c:74:49: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_cmov.c:64:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_cmov.c:87:23: warning: If memory allocation fails, then there is a possible null pointer dereference: buf_uncompressed [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_cmov.c:81:34: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_cmov.c:81:34: note: Assignment 'buf_uncompressed=malloc(size_uncompressed)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_cmov.c:83:73: note: Assuming condition is false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_cmov.c:87:23: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:220:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_chan.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_chan.c:295:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CHID_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_chan.c:810:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mChannelLabel [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_chan.c:838:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mChannelLabel [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_dref.c:84:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_dref.c:104:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data_reference [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_dref.c:121:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_elst.c:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_elst.c:82:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable duration [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_emsg.c:58:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_emsg.c:122:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_emsg.c:30:76: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2173:12: style: Condition '!bgav_mxf_package_resolve_refs(ret,(mxf_package_t*)(ret->metadata[i]))' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2173:42: note: Calling function 'bgav_mxf_package_resolve_refs' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2173:12: note: Condition '!bgav_mxf_package_resolve_refs(ret,(mxf_package_t*)(ret->metadata[i]))' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2178:12: style: Condition '!bgav_mxf_package_resolve_refs(ret,(mxf_package_t*)(ret->metadata[i]))' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2178:42: note: Calling function 'bgav_mxf_package_resolve_refs' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2178:12: note: Condition '!bgav_mxf_package_resolve_refs(ret,(mxf_package_t*)(ret->metadata[i]))' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2183:12: style: Condition '!bgav_mxf_timecode_component_resolve_refs(ret,(mxf_timecode_component_t*)(ret->metadata[i]))' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2183:53: note: Calling function 'bgav_mxf_timecode_component_resolve_refs' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2183:12: note: Condition '!bgav_mxf_timecode_component_resolve_refs(ret,(mxf_timecode_component_t*)(ret->metadata[i]))' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2187:12: style: Condition '!bgav_mxf_preface_resolve_refs(ret,(mxf_preface_t*)(ret->metadata[i]))' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2187:42: note: Calling function 'bgav_mxf_preface_resolve_refs' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2187:12: note: Condition '!bgav_mxf_preface_resolve_refs(ret,(mxf_preface_t*)(ret->metadata[i]))' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2192:12: style: Condition '!bgav_mxf_content_storage_resolve_refs(ret,(mxf_content_storage_t*)(ret->metadata[i]))' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2192:50: note: Calling function 'bgav_mxf_content_storage_resolve_refs' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2192:12: note: Condition '!bgav_mxf_content_storage_resolve_refs(ret,(mxf_content_storage_t*)(ret->metadata[i]))' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2199:12: style: Condition '!bgav_mxf_sequence_resolve_refs(ret,s)' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2199:43: note: Calling function 'bgav_mxf_sequence_resolve_refs' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2199:12: note: Condition '!bgav_mxf_sequence_resolve_refs(ret,s)' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2204:12: style: Condition '!bgav_mxf_descriptor_resolve_refs(ret,(mxf_descriptor_t*)(ret->metadata[i]))' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2204:45: note: Calling function 'bgav_mxf_descriptor_resolve_refs' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2204:12: note: Condition '!bgav_mxf_descriptor_resolve_refs(ret,(mxf_descriptor_t*)(ret->metadata[i]))' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2209:12: style: Condition '!bgav_mxf_descriptor_resolve_refs(ret,(mxf_descriptor_t*)(ret->metadata[i]))' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2209:45: note: Calling function 'bgav_mxf_descriptor_resolve_refs' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2209:12: note: Condition '!bgav_mxf_descriptor_resolve_refs(ret,(mxf_descriptor_t*)(ret->metadata[i]))' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2213:12: style: Condition '!bgav_mxf_track_resolve_refs(ret,(mxf_track_t*)(ret->metadata[i]))' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2213:40: note: Calling function 'bgav_mxf_track_resolve_refs' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2213:12: note: Condition '!bgav_mxf_track_resolve_refs(ret,(mxf_track_t*)(ret->metadata[i]))' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2217:12: style: Condition '!bgav_mxf_identification_resolve_refs(ret,(mxf_identification_t*)(ret->metadata[i]))' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2217:49: note: Calling function 'bgav_mxf_identification_resolve_refs' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2217:12: note: Condition '!bgav_mxf_identification_resolve_refs(ret,(mxf_identification_t*)(ret->metadata[i]))' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2233:12: style: Condition '!bgav_mxf_source_clip_resolve_refs(ret,(mxf_source_clip_t*)(ret->metadata[i]))' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2233:46: note: Calling function 'bgav_mxf_source_clip_resolve_refs' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2233:12: note: Condition '!bgav_mxf_source_clip_resolve_refs(ret,(mxf_source_clip_t*)(ret->metadata[i]))' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2237:12: style: Condition '!bgav_mxf_essence_container_data_resolve_refs(ret,(mxf_essence_container_data_t*)(ret->metadata[i]))' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2237:57: note: Calling function 'bgav_mxf_essence_container_data_resolve_refs' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2237:12: note: Condition '!bgav_mxf_essence_container_data_resolve_refs(ret,(mxf_essence_container_data_t*)(ret->metadata[i]))' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2262:12: style: Condition '!bgav_mxf_package_resolve_refs_2(ret,(mxf_package_t*)(ret->metadata[i]))' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2262:44: note: Calling function 'bgav_mxf_package_resolve_refs_2' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2262:12: note: Condition '!bgav_mxf_package_resolve_refs_2(ret,(mxf_package_t*)(ret->metadata[i]))' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2266:12: style: Condition '!bgav_mxf_package_resolve_refs_2(ret,(mxf_package_t*)(ret->metadata[i]))' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2266:44: note: Calling function 'bgav_mxf_package_resolve_refs_2' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2266:12: note: Condition '!bgav_mxf_package_resolve_refs_2(ret,(mxf_package_t*)(ret->metadata[i]))' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:149:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:146:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:146:15: note: Assignment 'ret=calloc(num,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:149:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:742:5: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:741:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:741:15: note: Assignment 'm=calloc(1,struct_size)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:742:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2473:10: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2477:5: note: Found duplicate branches for 'if' and 'else'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2473:10: note: Found duplicate branches for 'if' and 'else'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_esds.c:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2006:11: style: Local variable 'i' shadows outer variable [shadowVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1989:7: note: Shadowed declaration gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2006:11: note: Shadow variable gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:729:53: style: Parameter 'klv' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:993:20: style: Variable 'seq' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1025:20: style: Variable 'seq' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1114:52: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1220:67: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1220:97: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1225:66: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1488:63: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1488:89: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1606:57: style: Parameter 'uid' can be declared as pointer to const. However it seems that 'read_descriptor' is a callback function, if 'uid' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2602:37: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1606:57: note: Parameter 'uid' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1787:74: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:1984:67: style: Parameter 'klv' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2284:20: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2392:61: style: Parameter 'klv' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2895:51: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2904:21: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2923:103: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_chan.c:302:53: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_chan.c:303:53: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_chan.c:31:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_chan.c:828:35: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_fiel.c:30:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_ftab.c:39:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_id [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_ftab.c:54:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_id [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_glbl.c:29:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/mxf.c:2493:14: style: Variable 'last_pos' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_gmin.c:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_gmin.c:37:36: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_hdlr.c:77:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_mdhd.c:80:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_mdhd.c:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_mfhd.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_mfhd.c:37:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_mdhd.c:92:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_mdhd.c:145:36: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_moov.c:120:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_tref [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:400:19: warning: Possible null pointer dereference: chunk [nullPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:420:29: note: Calling function 'pnm_write_chunk', 3rd argument 'NULL' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:400:19: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:415:10: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:765:20: note: Calling function 'pnm_send_request', 1st argument 'p' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:415:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:445:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:765:20: note: Calling function 'pnm_send_request', 1st argument 'p' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:445:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:452:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:765:20: note: Calling function 'pnm_send_request', 1st argument 'p' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:452:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:453:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:765:20: note: Calling function 'pnm_send_request', 1st argument 'p' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:453:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:454:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:765:20: note: Calling function 'pnm_send_request', 1st argument 'p' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:454:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:456:26: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:765:20: note: Calling function 'pnm_send_request', 1st argument 'p' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:456:26: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:456:41: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:765:20: note: Calling function 'pnm_send_request', 1st argument 'p' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:456:41: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:457:16: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:765:20: note: Calling function 'pnm_send_request', 1st argument 'p' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:457:16: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:460:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:765:20: note: Calling function 'pnm_send_request', 1st argument 'p' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:460:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:461:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:765:20: note: Calling function 'pnm_send_request', 1st argument 'p' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:461:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:463:12: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:765:20: note: Calling function 'pnm_send_request', 1st argument 'p' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:463:12: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:463:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:765:20: note: Calling function 'pnm_send_request', 1st argument 'p' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:463:17: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:495:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:766:24: note: Calling function 'pnm_get_headers', 1st argument 'p' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:495:17: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:762:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:762:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:763:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:759:16: note: Assignment 'p=calloc(1,sizeof(struct pnm_t))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:763:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:757:34: style:inconclusive: Function 'pnm_connect' argument 2 names different: declaration 'url' definition 'path'. [funcArgNamesDifferent] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.h:35:36: note: Function 'pnm_connect' argument 2 names different: declaration 'url' definition 'path'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:757:34: note: Function 'pnm_connect' argument 2 names different: declaration 'url' definition 'path'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:825:23: style:inconclusive: Function 'pnm_close' argument 1 names different: declaration 'this' definition 'p'. [funcArgNamesDifferent] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.h:38:28: note: Function 'pnm_close' argument 1 names different: declaration 'this' definition 'p'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:825:23: note: Function 'pnm_close' argument 1 names different: declaration 'this' definition 'p'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:270:28: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:306:42: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:413:8: style: Variable 'fixme' can be declared as const array [constVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:757:34: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:790:9: style: Variable 'source' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pnm.c:819:29: style: Parameter 'this' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_nmhd.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_mvhd.c:58:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_mvhd.c:135:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_nmhd.c:26:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_nmhd.c:26:68: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_nmhd.c:27:35: style: Parameter 'ret' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_nmhd.c:33:36: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_moov.c:112:42: style: Parameter 'moov' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_moov.c:112:60: style: Parameter 'trak' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_pasp.c:28:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_rdrf.c:47:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_mvhd.c:53:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_mvhd.c:103:36: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_rmra.c:66:48: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stco.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stco.c:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stco.c:96:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stco.c:42:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stco.c:62:45: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsc.c:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsc.c:83:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_chunk [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsc.c:47:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stss.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsz.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stss.c:42:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsz.c:42:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stts.c:50:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stts.c:86:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stts.c:97:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tcmi.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tcmi.c:51:36: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stts.c:45:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tfdt.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tfdt.c:50:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tfhd.c:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tfhd.c:89:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFHD_BASE_DATA_OFFSET_PRESENT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tfdt.c:27:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tfhd.c:51:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsd.c:287:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsd.c:411:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_VIDEO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsd.c:547:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_TEXT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsd.c:595:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_TEXT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsd.c:693:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsd.c:728:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsd.c:812:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsd.c:865:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data_size [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tkhd.c:62:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tkhd.c:87:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_timecode.c:46:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tkhd.c:81:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tkhd.c:138:36: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_trak.c:119:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_trak.c:136:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable duration [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tref.c:41:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tref.c:64:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tracks [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tref.c:78:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_tref.c:29:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_trun.c:63:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_VERSION_AND_FLAGS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_trun.c:114:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUN_DATA_OFFSET_PRESENT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_trun.c:59:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_wave.c:78:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_asx.c:97:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_LABEL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_asx.c:200:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_wave.c:30:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_udta.c:110:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_m3u.c:42:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_REAL_URI [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_m3u.c:283:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_pls.c:36:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_SRC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_pls.c:106:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_LABEL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_smil.c:136:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_BITRATE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_smil.c:275:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsd.c:46:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsd.c:45:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsd.c:45:15: note: Assignment 'ret=malloc(num*sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsd.c:46:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/qt_stsd.c:689:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/redirect.c:80:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/redirect.c:94:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_MEDIA_CLASS_LOCATION [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtcp.c:61:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ssrc [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtcp.c:88:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ssrc [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtcp.c:110:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtcp.c:162:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ssrc [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:56:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:178:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_length [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:227:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:245:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:336:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:474:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:503:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mdpr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:546:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mdpr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:643:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable indx [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:807:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attributes [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:924:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:185:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:259:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:373:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:269:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:349:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:453:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTP_MAX_PACKET_LENGTH [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:491:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTP_MAX_PACKET_LENGTH [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:565:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:598:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable revents [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:625:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interleave_base [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:647:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:710:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_DECODE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:749:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:784:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:827:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:871:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable media [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:940:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interleave_base [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:977:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1134:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1191:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1400:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_FRAMERATE_VARIABLE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_m3u.c:400:22: style: Local variable 'pos' shadows outer variable [shadowVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_m3u.c:200:16: note: Shadowed declaration gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_m3u.c:400:22: note: Shadow variable gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_m3u.c:570:15: style: Local variable 'i' shadows outer variable [shadowVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_m3u.c:198:7: note: Shadowed declaration gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_m3u.c:570:15: note: Shadow variable gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_m3u.c:594:15: style: Local variable 'i' shadows outer variable [shadowVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_m3u.c:198:7: note: Shadowed declaration gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/r_m3u.c:594:15: note: Shadow variable gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:200:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:182:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:181:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:181:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:182:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:183:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:181:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:181:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:183:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:184:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:181:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:181:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:184:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:185:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:181:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:181:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:185:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:189:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:181:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:181:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:189:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:961:19: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtpbuffer.c:305:12: style: Variable 'p_iter' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:297:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:296:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:296:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:297:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:298:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:296:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:296:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:298:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:299:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:296:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:296:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:299:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:300:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:296:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:296:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:300:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:342:36: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtsp.c:347:46: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:518:5: error: Memory leak: ret [memleak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:521:5: error: Memory leak: ret [memleak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:524:5: error: Memory leak: ret [memleak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:630:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:628:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:628:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:630:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:631:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:628:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:628:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:631:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:632:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:628:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:628:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:632:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:632:25: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:628:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:628:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:632:25: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:391:45: style: Parameter 'cont' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sampleseek.c:67:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRACK_SAMPLE_ACCURATE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sampleseek.c:128:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_PAUSED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sampleseek.c:178:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_PAUSED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sampleseek.c:231:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_MODE_SI_SA [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sampleseek.c:263:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_MODE_SI_SA [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rmff.c:961:22: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sampleseek.c:297:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_EOF_C [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sampleseek.c:311:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_PAUSED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sampleseek.c:324:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_PAUSED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sampleseek.c:337:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_PAUSED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sampleseek.c:367:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sampleseek.c:402:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/seek.c:38:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/seek.c:50:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable action [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/seek.c:87:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_MUTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/seek.c:142:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_MUTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/seek.c:240:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/seek.c:279:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_SCALE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/seek.c:356:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/seek.c:391:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/seek.c:464:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_PAUSED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/seek.c:517:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_SCALE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:158:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_SDP_BANDWIDTH_MODIFIER_AS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:192:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_SDP_BANDWIDTH_MODIFIER_CT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:219:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_SDP_KEY_TYPE_CLEAR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:295:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_SDP_TYPE_BOOLEAN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:401:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:442:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:537:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:705:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:821:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:865:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:884:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:902:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:921:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:57:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_STARTED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:96:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:108:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_DECODE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:139:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_STREAM_PACKET_TIMESCALE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:151:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_PARSE_FULL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:159:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_PARSE_FRAME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:216:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:235:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_AGAIN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:270:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_SRC_ALLOC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:304:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_TEXT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:368:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_BITRATE_VBR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:394:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_DECODE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:433:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_WRITE_STARTED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:484:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_STREAM_SAMPLE_TIMESCALE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:505:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_STREAM_PACKET_TIMESCALE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:518:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:550:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:584:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_PACKET_PADDING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:641:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_DEMUXER_SETS_PTS_END [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:652:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SINK_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:570:51: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/stream.c:570:70: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/streamdecoder.c:127:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_DECODE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/streamdecoder.c:138:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/streamdecoder.c:157:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_VIDEO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/streamdecoder.c:176:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_VIDEO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/streamdecoder.c:204:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/streamdecoder.c:49:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/streamdecoder.c:46:39: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/streamdecoder.c:46:39: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/streamdecoder.c:49:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/streamdecoder.c:50:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/streamdecoder.c:46:39: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/streamdecoder.c:46:39: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/streamdecoder.c:50:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:278:6: style: Condition '!priv' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:406:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:404:14: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:404:14: note: Assignment 'sp=calloc(1,sizeof(*sp))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:406:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:407:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:404:14: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:404:14: note: Assignment 'sp=calloc(1,sizeof(*sp))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:407:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:408:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:404:14: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:404:14: note: Assignment 'sp=calloc(1,sizeof(*sp))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:408:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:865:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:860:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:860:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:865:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:258:48: style: Parameter 's' can be declared as pointer to const. However it seems that 'cleanup_stream_rtp' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:403:16: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:258:48: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:334:12: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:548:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:551:23: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:641:46: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:747:70: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'next_packet_rtp' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:987:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:747:70: note: Parameter 'ctx' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:812:48: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:929:23: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:930:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:974:16: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1017:46: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1057:43: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1104:47: style: Parameter 'h' can be declared as pointer to const. However it seems that 'process_aac' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1201:19: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1104:47: note: Parameter 'h' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1265:51: style: Parameter 'nal' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1293:53: style: Parameter 'nal' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1302:59: style: Parameter 'h' can be declared as pointer to const. However it seems that 'process_h264' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1403:17: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1302:59: note: Parameter 'h' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1360:10: style: Variable 'value' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1410:47: style: Parameter 'h' can be declared as pointer to const. However it seems that 'process_mpa' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1429:17: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1410:47: note: Parameter 'h' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1410:60: style: Parameter 'data' can be declared as pointer to const. However it seems that 'process_mpa' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1429:17: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1410:60: note: Parameter 'data' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1425:37: style: Parameter 's' can be declared as pointer to const. However it seems that 'init_mpa' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:164:54: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1425:37: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1436:47: style: Parameter 'h' can be declared as pointer to const. However it seems that 'process_mpv' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1468:17: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1436:47: note: Parameter 'h' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1476:43: style: Parameter 'h' can be declared as pointer to const. However it seems that 'process_mp4v_es' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1550:17: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1476:43: note: Parameter 'h' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1476:56: style: Parameter 'data' can be declared as pointer to const. However it seems that 'process_mp4v_es' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1550:17: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1476:56: note: Parameter 'data' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1557:45: style: Parameter 'h' can be declared as pointer to const. However it seems that 'process_h263_1998' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1612:17: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1557:45: note: Parameter 'h' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1607:43: style: Parameter 's' can be declared as pointer to const. However it seems that 'init_h263_1998' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:197:56: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:1607:43: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:136:7: style: struct member 'static_payload_t::bits' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subovl_dvd.c:65:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_YUVA_32 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subovl_dvd.c:115:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subovl_dvd.c:166:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_EOF_C [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/rtp.c:230:14: style: struct member 'Anonymous0::lsr' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:553:12: style: Condition '!parse_bandwidth_desc(lines[line_index]+2,&ret->bandwidth)' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:553:33: note: Calling function 'parse_bandwidth_desc' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:553:12: note: Condition '!parse_bandwidth_desc(lines[line_index]+2,&ret->bandwidth)' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:746:12: style: Condition '!parse_bandwidth_desc(lines[line_index]+2,&ret->bandwidth)' is always false [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:746:33: note: Calling function 'parse_bandwidth_desc' returns 1 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:746:12: note: Condition '!parse_bandwidth_desc(lines[line_index]+2,&ret->bandwidth)' is always false gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:654:10: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:653:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:653:15: note: Assignment 'buf=malloc(i_tmp+1)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:654:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:662:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pos [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:653:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:653:15: note: Assignment 'buf=malloc(i_tmp+1)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:658:9: note: Assignment 'pos=buf', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:662:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:684:5: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:679:17: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:679:17: note: Assignment 'lines=calloc(num_lines+1,sizeof(char*))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:684:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:475:10: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/sdp.c:913:46: style: Parameter 'attrs' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:35:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_text_streams [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:41:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_text_streams [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:46:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_overlay_streams [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:86:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_TEXT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:95:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_LANGUAGE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:105:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_EOF_C [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:124:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_EOF_C [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:153:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_AGAIN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:161:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_TEXT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:180:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:208:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:230:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_EOF_C [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:250:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_PARSE_FULL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:259:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_EOF_C [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:341:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_TEXT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:361:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:379:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_LABEL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:484:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CODEC_ID_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:194:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:291:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:363:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_LANGUAGE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:438:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:875:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:937:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:1107:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:1136:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:1166:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitleconverter.c:74:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitleconverter.c:166:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_UTF8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:85:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:223:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:385:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:392:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:401:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:410:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:419:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:428:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:446:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:456:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitle.c:361:12: style: Variable 'st' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subtitleconverter.c:41:10: style: Variable 'src' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:84:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:110:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable duration [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:182:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stream_id [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:248:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:313:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stream_id [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:342:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stream_id [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:399:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subovl_dvd.c:82:40: style: Parameter 'palette' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subovl_dvd.c:131:36: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subovl_dvd.c:156:14: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subovl_dvd.c:162:14: style: Variable 'ifo_palette' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subovl_dvd.c:340:42: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_dvdsub' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subovl_dvd.c:354:21: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subovl_dvd.c:340:42: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subovl_dvd.c:34:7: style: struct member 'dvdsub_t::packet_size' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tcp.c:119:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tcp.c:169:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tcp.c:241:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tcp.c:256:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tcp.c:156:78: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tcp.c:250:29: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:39:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:35:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:35:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:39:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:40:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:35:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:35:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:40:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:40:27: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:35:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:35:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:40:27: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:195:9: warning: If memory allocation fails, then there is a possible null pointer dereference: entries [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:178:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:178:19: note: Assignment 'entries=malloc(num_entries*sizeof(*entries))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:195:9: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:196:10: warning: If memory allocation fails, then there is a possible null pointer dereference: entries [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:178:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:178:19: note: Assignment 'entries=malloc(num_entries*sizeof(*entries))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:196:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:197:3: warning: If memory allocation fails, then there is a possible null pointer dereference: entries [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:178:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:178:19: note: Assignment 'entries=malloc(num_entries*sizeof(*entries))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:197:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:206:12: warning: If memory allocation fails, then there is a possible null pointer dereference: entries [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:178:19: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:178:19: note: Assignment 'entries=malloc(num_entries*sizeof(*entries))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:206:12: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/superindex.c:170:43: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:56:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pts [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:104:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIMECODE_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:36:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:32:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:32:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:36:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:37:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:32:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:32:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:37:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:38:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:32:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:32:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:38:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/timecode.c:87:58: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:49:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:105:18: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:399:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:392:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:392:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:399:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:401:23: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:392:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:392:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:401:23: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:46:29: style: Parameter 'line' can be declared as pointer to const. However it seems that 'probe_srt' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:842:29: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:46:29: note: Parameter 'line' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:72:10: style: Variable 'str' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:268:32: style: Parameter 'line' can be declared as pointer to const. However it seems that 'probe_vobsub' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:850:29: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:268:32: note: Parameter 'line' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:349:16: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:528:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'seek_vobsub' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:852:29: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/subread.c:528:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:44:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_METADATA [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:125:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_STREAM_ID_MSG_PROGRAM [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:153:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metadata [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:194:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_EDL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:42:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:42:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:53:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:53:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:57:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:57:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:58:23: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:58:23: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:60:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:60:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:61:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:61:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:61:17: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:61:17: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:64:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:41:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:64:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/tracktable.c:136:49: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:38:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_SRC [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:58:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:88:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:93:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_VIDEO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:98:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_TEXT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:103:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_OVERLAY [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:109:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_MSG [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:149:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:170:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_MSG [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:193:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_VIDEO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:222:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_DISCONT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:253:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_DISCONT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:321:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stream_id [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:334:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stream_id [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:350:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_MUTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:391:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_MUTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:459:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:531:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:553:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_AUDIO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:559:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_VIDEO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:565:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_TEXT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:571:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_OVERLAY [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:587:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:672:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:714:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_MUTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:769:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_MUTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:785:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_MSG [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:804:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_MUTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:824:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:848:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_MUTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:864:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:885:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_EOF_D [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:892:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_EOF_D [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:898:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_MUTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:934:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_STREAM_PACKET_TIMESCALE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:985:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable info_ext [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:998:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/udp.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/udp.c:87:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/udp.c:105:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/udp.c:65:5: error: Resource leak: ret [resourceLeak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/udp.c:98:38: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/udp.c:99:38: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/vc1_header.c:144:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROFILE_ADVANCED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/vc1_header.c:158:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROFILE_ADVANCED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/vc1_header.c:227:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_P [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:103:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:115:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:387:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:492:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:571:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:606:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:623:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_PACKET_TYPE_MASK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:896:29: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'has_eof_d' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:916:32: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:896:29: note: Parameter 'priv' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:896:51: style: Parameter 's' can be declared as pointer to const. However it seems that 'has_eof_d' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:916:32: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:896:51: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/track.c:992:49: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:189:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_video_streams [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:233:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_HAVE_FRAME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:259:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_AGAIN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:283:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_AGAIN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:319:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_STANDALONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:379:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_DECODE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:463:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:472:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:479:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_FLAG_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:510:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_STILL_SHOWN [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:516:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:590:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:695:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stream_id [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:761:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CODEC_ID_PNG [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:845:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:384:20: style: Expression is always true because 'else if' condition is opposite to previous condition at line 382. [multiCondition] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:382:15: note: first condition gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:384:20: note: else if condition is opposite to first condition gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:231:29: style: Condition 'at_pos' is always true [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:473:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:571:21: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:571:21: note: Assignment 'test_path=malloc((PATH_MAX+1)*sizeof(*test_path))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:575:27: note: Calling function 'bgav_check_file_read', 1st argument 'test_path' value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:473:13: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:498:12: warning: If memory allocation fails, then there is a possible null pointer dereference: testpath [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:492:20: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:492:20: note: Assignment 'testpath=malloc((PATH_MAX+1)*sizeof(char))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:498:12: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:500:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testpath [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:492:20: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:492:20: note: Assignment 'testpath=malloc((PATH_MAX+1)*sizeof(char))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:500:20: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:572:12: warning: If memory allocation fails, then there is a possible null pointer dereference: test_path [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:571:21: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:571:21: note: Assignment 'test_path=malloc((PATH_MAX+1)*sizeof(*test_path))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:572:12: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:698:7: warning: If memory allocation fails, then there is a possible null pointer dereference: pal [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:694:17: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:694:17: note: Assignment 'pal=malloc(16*sizeof(*pal))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:698:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:710:12: warning: If memory allocation fails, then there is a possible null pointer dereference: pal [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:694:17: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:694:17: note: Assignment 'pal=malloc(16*sizeof(*pal))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:710:12: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:711:12: warning: If memory allocation fails, then there is a possible null pointer dereference: pal [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:694:17: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:694:17: note: Assignment 'pal=malloc(16*sizeof(*pal))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:711:12: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:717:7: warning: If memory allocation fails, then there is a possible null pointer dereference: pal [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:694:17: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:694:17: note: Assignment 'pal=malloc(16*sizeof(*pal))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:717:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:231:26: style: Same expression on both sides of '&&'. [duplicateExpression] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:483:10: style: Variable 'home_dir' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/utils.c:566:10: style: Variable 'home_dir' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/vc1_header.c:119:44: warning: Either the condition 'nr<8' is redundant or the array 'vc1_fps_nr[5]' is accessed at index 6, which is out of bounds. [arrayIndexOutOfBoundsCond] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/vc1_header.c:117:22: note: Assuming that condition 'nr<8' is not redundant gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/vc1_header.c:119:44: note: Array index out of bounds gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:158:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:209:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_P_FRAMES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:62:39: style: Parameter 'src' can be declared as pointer to const. However it seems that 'scanline_8_gray' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:233:31: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:62:39: note: Parameter 'src' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:76:35: style: Parameter 'src' can be declared as pointer to const. However it seems that 'scanline_16' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:255:31: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:76:35: note: Parameter 'src' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:91:40: style: Parameter 'src' can be declared as pointer to const. However it seems that 'scanline_16_swap' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:250:31: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:91:40: note: Parameter 'src' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:108:35: style: Parameter 'src' can be declared as pointer to const. However it seems that 'scanline_24' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:259:29: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:108:35: note: Parameter 'src' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:114:35: style: Parameter 'src' can be declared as pointer to const. However it seems that 'scanline_32' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:263:29: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:114:35: note: Parameter 'src' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:133:42: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_aviraw' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:294:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_aviraw.c:133:42: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:209:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:216:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:864:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_gavf.c:48:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_gavf.c:89:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_VIDEO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:534:14: style: Variable 'st' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video.c:606:14: style: Variable 'st' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_gavf.c:71:46: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_gavf_video' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_gavf.c:114:14: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_gavf.c:71:46: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_gavl.c:29:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_P_FRAMES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_gavl.c:38:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_gavl.c:52:40: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_gavl' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_gavl.c:63:14: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_gavl.c:52:40: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_png.c:53:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_png.c:91:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_png.c:90:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_png.c:86:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_png.c:86:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_png.c:90:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_png.c:106:8: style: Redundant initialization for 'priv'. The initialized value is overwritten before it is read. [redundantInitialization] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_png.c:105:21: note: priv is initialized gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_png.c:106:8: note: priv is overwritten gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_png.c:95:39: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_png' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_png.c:118:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_png.c:95:39: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:48:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_WARNING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:54:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:125:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_HAVE_FRAME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:197:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_P_FRAMES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_qtraw.c:231:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_P_FRAMES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_qtraw.c:385:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:248:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:333:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVPALETTE_COUNT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:402:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:497:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:626:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:656:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_HAVE_FRAME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:702:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:927:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1670:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1974:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_PIX_FMT_PAL8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1995:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_PIXELFORMAT_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:2080:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_RGBA_32 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:2216:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_P_FRAMES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_qtraw.c:136:39: style: Parameter 'src' can be declared as pointer to const. However it seems that 'scanline_raw_24' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_qtraw.c:316:29: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_qtraw.c:136:39: note: Parameter 'src' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_qtraw.c:410:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_qtraw' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_qtraw.c:423:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_qtraw.c:410:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:199:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:199:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:200:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:200:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:201:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:201:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:204:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:204:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:206:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:206:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:224:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:224:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:227:37: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:227:37: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:232:21: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:232:21: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:234:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:234:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:236:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:195:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:236:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:104:11: style: Local variable 'y' shadows outer variable [shadowVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:84:9: note: Shadowed declaration gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:104:11: note: Shadow variable gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:41:20: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:47:20: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:53:20: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:242:44: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_openjpeg' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:270:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:242:44: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_rtjpeg.c:51:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_YUV_420_P [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_rtjpeg.c:70:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:41:24: style: Variable 'opt' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:41:20: style: Variable 'opt' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:47:24: style: Variable 'opt' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:47:20: style: Variable 'opt' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:53:24: style: Variable 'opt' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_openjpeg.c:53:20: style: Variable 'opt' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_rtjpeg.c:47:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_rtjpeg.c:43:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_rtjpeg.c:43:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_rtjpeg.c:47:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_rtjpeg.c:53:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_rtjpeg.c:43:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_rtjpeg.c:43:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_rtjpeg.c:53:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_rtjpeg.c:92:42: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_rtjpeg' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_rtjpeg.c:108:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_rtjpeg.c:92:42: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tga.c:59:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_GRAY_8 [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tga.c:99:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tga.c:131:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_HAVE_FRAME [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tga.c:261:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_P_FRAMES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:104:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_PIXELFORMAT_NONE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:145:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:264:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_INTERLACE_TOP_FIRST [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:320:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:382:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:412:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:473:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tga.c:267:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tga.c:259:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tga.c:259:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tga.c:267:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tga.c:91:40: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tga.c:278:39: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_tga' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tga.c:296:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tga.c:278:39: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:211:10: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:210:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:210:16: note: Assignment 'data=malloc(size)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:211:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:382:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:381:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:381:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:382:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:386:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:381:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:381:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:386:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:388:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:381:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:381:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:388:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:389:15: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:381:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:381:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:389:15: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:119:37: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:443:48: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_schroedinger' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:484:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:443:48: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:457:49: style: Parameter 's' can be declared as pointer to const. However it seems that 'resync_schroedinger' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:485:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:457:49: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_schroedinger.c:66:7: style: struct member 'pixel_format_t::bits' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_theora.c:69:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_theora.c:206:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:126:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:249:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_COMPRESSION_HAS_P_FRAMES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:278:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_theora.c:250:42: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_theora' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_theora.c:276:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_theora.c:250:42: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:702:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:702:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:712:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:712:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:714:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:714:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:716:27: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:716:27: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:719:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:719:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:720:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:720:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:721:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:721:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:727:5: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:727:5: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:734:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:734:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:737:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:737:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:758:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:701:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:758:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:299:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:324:44: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:684:47: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:907:43: style: Parameter 's' can be declared as pointer to const. However it seems that 'resync_ffmpeg' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1679:48: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:907:43: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:918:42: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_ffmpeg' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1678:47: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:918:42: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1648:52: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1662:13: style: Variable 'c' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1700:13: style: Variable 'src_ptr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1703:14: style: Variable 'palette' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1742:13: style: Variable 'src_ptr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1745:14: style: Variable 'palette' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1784:13: style: Variable 'src_ptr_y' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1787:13: style: Variable 'src_ptr_u' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1790:13: style: Variable 'src_ptr_v' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1793:13: style: Variable 'src_ptr_a' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:1894:14: style: Variable 'src_ptr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:2075:47: style: Parameter 's' can be declared as pointer to const. However it seems that 'put_frame_palette' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:2198:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:2075:47: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:2091:46: style: Parameter 's' can be declared as pointer to const. However it seems that 'put_frame_rgba32' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:2209:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:2091:46: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:2099:47: style: Parameter 's' can be declared as pointer to const. However it seems that 'put_frame_yuva420' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:2212:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:2099:47: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:86:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:160:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_V4L2_DEVICE_DECODER [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:70:5: error: Memory leak: priv [memleak] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:62:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:60:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:60:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:62:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:64:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:60:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:60:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:64:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:64:43: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:60:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:60:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:64:43: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:67:37: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:60:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:60:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:67:37: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:84:29: style: Parameter 's' can be declared as pointer to const. However it seems that 'decode_v4l2' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:148:5: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:84:29: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:84:53: style: Parameter 'frame' can be declared as pointer to const. However it seems that 'decode_v4l2' is a callback function, if 'frame' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:148:5: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:84:53: note: Parameter 'frame' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:89:40: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_v4l2' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:148:5: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:89:40: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:106:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'resync_v4l2' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:148:5: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_v4l2_m2m.c:106:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:76:26: warning: Identical condition 'p->buffer_position>p->buffer_size', second condition is always false [identicalConditionAfterEarlyExit] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:72:26: note: If condition 'p->buffer_position>p->buffer_size' is true, the function will return/exit gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:76:26: note: Testing identical condition 'p->buffer_position>p->buffer_size' gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:84:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:98:48: style: Parameter 'b' can be declared as pointer to const. However it seems that 'map_file_proc' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:112:40: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:98:48: note: Parameter 'b' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:98:59: style: Parameter 'c' can be declared as pointer to const. However it seems that 'map_file_proc' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:112:40: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:98:59: note: Parameter 'c' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:292:40: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_tiff' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:320:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_tiff.c:292:40: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:102:12: style: struct member 'ffmpeg_video_priv::rv_extradata' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:117:24: style: struct member 'ffmpeg_video_priv::flip_frame' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_vpx.c:54:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vpx_codec_vp8_dx_algo [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_vpx.c:77:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_YUV_420_P [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_vpx.c:104:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VPX_CODEC_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:497:10: style: Variable 'st' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_ffmpeg.c:511:10: style: Variable 'st' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:351:9: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:350:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:350:15: note: Assignment 'buf=malloc(len)', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:351:9: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:239:5: style: Redundant assignment of 'dest->color_map_origin' to itself. [selfAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:240:5: style: Redundant assignment of 'dest->color_map_length' to itself. [selfAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:275:5: style: Redundant assignment of 'dest->origin_x' to itself. [selfAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:276:5: style: Redundant assignment of 'dest->origin_y' to itself. [selfAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:277:5: style: Redundant assignment of 'dest->width' to itself. [selfAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:278:5: style: Redundant assignment of 'dest->height' to itself. [selfAssignment] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_vpx.c:169:40: style: Parameter 's' can be declared as pointer to const. However it seems that 'resync_vpx' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_vpx.c:187:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_vpx.c:169:40: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:195:60: style:inconclusive: Function 'tga_read_from_memory' argument 2 names different: declaration 'mem' definition 'buf'. [funcArgNamesDifferent] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.h:161:60: note: Function 'tga_read_from_memory' argument 2 names different: declaration 'mem' definition 'buf'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:195:60: note: Function 'tga_read_from_memory' argument 2 names different: declaration 'mem' definition 'buf'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:195:84: style:inconclusive: Function 'tga_read_from_memory' argument 4 names different: declaration 'cmap' definition 'ctab'. [funcArgNamesDifferent] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.h:161:84: note: Function 'tga_read_from_memory' argument 4 names different: declaration 'cmap' definition 'ctab'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:195:84: note: Function 'tga_read_from_memory' argument 4 names different: declaration 'cmap' definition 'ctab'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:196:37: style:inconclusive: Function 'tga_read_from_memory' argument 5 names different: declaration 'cmap_size' definition 'ctab_size'. [funcArgNamesDifferent] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.h:161:94: note: Function 'tga_read_from_memory' argument 5 names different: declaration 'cmap_size' definition 'ctab_size'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:196:37: note: Function 'tga_read_from_memory' argument 5 names different: declaration 'cmap_size' definition 'ctab_size'. gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:195:84: style: Parameter 'ctab' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/targa.c:869:18: style: Variable 'c_bgr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:273:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:307:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:420:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:460:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:313:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:309:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:309:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:313:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:315:7: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:309:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:309:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:315:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:284:35: style: Parameter 'anim_hdr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:291:46: style: Parameter 'anim_hdr' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:436:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'close_xadll' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:454:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:436:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:48:25: style: struct member 'XAVID_FUNC_HDR::id' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:55:25: style: struct member 'XA_ANIM_HDR::file_num' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:56:25: style: struct member 'XA_ANIM_HDR::anim_type' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:57:25: style: struct member 'XA_ANIM_HDR::imagex' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:58:25: style: struct member 'XA_ANIM_HDR::imagey' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_y4m.c:152:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_y4m.c:211:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:59:25: style: struct member 'XA_ANIM_HDR::imagec' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:60:25: style: struct member 'XA_ANIM_HDR::imaged' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:74:26: style: struct member 'XAVID_MOD_HDR::desc' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:75:26: style: struct member 'XAVID_MOD_HDR::rev' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:76:26: style: struct member 'XAVID_MOD_HDR::copyright' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:77:26: style: struct member 'XAVID_MOD_HDR::mod_author' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:78:26: style: struct member 'XAVID_MOD_HDR::authors' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:105:25: style: struct member 'ColorReg::red' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:106:25: style: struct member 'ColorReg::green' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:107:25: style: struct member 'ColorReg::blue' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:108:25: style: struct member 'ColorReg::gray' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:114:25: style: struct member 'XA_ACTION_STRUCT::type' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:115:25: style: struct member 'XA_ACTION_STRUCT::cmap_rev' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:117:28: style: struct member 'XA_ACTION_STRUCT::next' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:118:26: style: struct member 'XA_ACTION_STRUCT::chdr' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:119:26: style: struct member 'XA_ACTION_STRUCT::h_cmap' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:120:26: style: struct member 'XA_ACTION_STRUCT::map' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_y4m.c:82:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'decode_mono' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_y4m.c:252:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_y4m.c:82:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:121:28: style: struct member 'XA_ACTION_STRUCT::next_same_chdr' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_y4m.c:104:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'decode_yuva' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_y4m.c:244:27: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_y4m.c:104:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_y4m.c:191:35: style: Parameter 's' can be declared as pointer to const. However it seems that 'close' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_y4m.c:289:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_y4m.c:191:35: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_y4m.c:206:10: style: Variable 'header' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:127:25: style: struct member 'XA_CHDR_STRUCT::rev' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:128:26: style: struct member 'XA_CHDR_STRUCT::cmap' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:129:25: style: struct member 'XA_CHDR_STRUCT::csize' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:129:32: style: struct member 'XA_CHDR_STRUCT::coff' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:130:26: style: struct member 'XA_CHDR_STRUCT::map' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:131:25: style: struct member 'XA_CHDR_STRUCT::msize' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:131:32: style: struct member 'XA_CHDR_STRUCT::moff' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:132:26: style: struct member 'XA_CHDR_STRUCT::next' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:133:26: style: struct member 'XA_CHDR_STRUCT::acts' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:134:26: style: struct member 'XA_CHDR_STRUCT::new_chdr' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:194:20: style: struct member 'YUVBufs::the_buf' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:148:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:179:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_RAW_PACKETS [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:219:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parser_position [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:195:18: style: struct member 'YUVBufs::the_buf_size' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:249:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:275:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:394:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_CODING_TYPE_I [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:476:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:521:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:554:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:196:20: style: struct member 'YUVBufs::y_w' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:612:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:645:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:706:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:746:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_PACKET_PADDING [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:786:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:812:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_PARSE_FULL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:828:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_PARSE_FULL [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:196:25: style: struct member 'YUVBufs::y_h' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:197:20: style: struct member 'YUVBufs::uv_w' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:197:26: style: struct member 'YUVBufs::uv_h' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_xadll.c:424:7: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:90:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:172:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:203:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:233:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:263:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:296:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:330:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:386:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:440:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:530:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:591:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_FORMAT [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:619:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_OK [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/vorbis_comment.c:133:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_META_ARTIST [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/vorbis_comment.c:224:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_CHID_FRONT_CENTER [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:47:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:45:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:45:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:47:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:54:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'decode_yuv2' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:96:23: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:54:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:140:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'decode_v408' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:178:23: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:140:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:190:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'decode_2vuy' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:209:23: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:190:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:220:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'decode_VYUY' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:239:23: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:220:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/xing.c:87:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRAMES_FLAG [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:348:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'decode_v308' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:392:23: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:348:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/xing.c:134:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRAMES_FLAG [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:402:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'decode_v410' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:446:23: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:402:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:548:41: style: Parameter 's' can be declared as pointer to const. However it seems that 'decode_yuv4' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:598:23: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:548:41: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:648:35: style: Parameter 's' can be declared as pointer to const. However it seems that 'close' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:773:15: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:648:35: note: Parameter 's' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:507:10: style: Variable 'i4' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/video_yuv.c:507:36: style: Variable 'src' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/xing.c:98:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/xing.c:35:13: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/xing.c:52:13: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/xing.c:98:9: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/c_avdec_audio.c:66:58: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'get_parameters' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/c_avdec_audio.c:84:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/c_avdec_audio.c:66:58: note: Parameter 'priv' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/avdec_common.c:193:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_MUTE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/avdec_common.c:228:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable action [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:704:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:703:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:703:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:704:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:706:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:703:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:703:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:706:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:707:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:703:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:703:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:707:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:714:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:703:15: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:703:15: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:714:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/c_avdec_video.c:77:58: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'get_parameters' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/c_avdec_video.c:95:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/c_avdec_video.c:77:58: note: Parameter 'priv' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/videoparser.c:489:12: style: Variable 'st' is assigned a value that is never used. [unreadVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/avdec_common.c:105:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/avdec_common.c:104:28: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/avdec_common.c:104:28: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/avdec_common.c:105:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/codec_common.c:40:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/codec_common.c:39:34: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/codec_common.c:39:34: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/codec_common.c:40:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/codec_common.c:41:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/codec_common.c:39:34: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/codec_common.c:39:34: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/codec_common.c:41:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/codec_common.c:41:46: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/codec_common.c:39:34: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/codec_common.c:39:34: note: Assignment 'ret=calloc(1,sizeof(*ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/codec_common.c:41:46: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_dvb.c:75:62: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'get_parameters_dvb' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_dvb.c:100:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_dvb.c:75:62: note: Parameter 'priv' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_dvb.c:82:42: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'get_protocols' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_dvb.c:104:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_dvb.c:82:42: note: Parameter 'priv' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_dvd.c:72:62: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'get_parameters_dvd' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_dvd.c:98:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_dvd.c:72:62: note: Parameter 'priv' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_dvd.c:79:42: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'get_protocols' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_dvd.c:102:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_dvd.c:79:42: note: Parameter 'priv' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_avdec.c:307:64: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'get_parameters_avdec' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_avdec.c:433:25: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_avdec.c:307:64: note: Parameter 'priv' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_avdec.c:316:42: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'get_protocols' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_avdec.c:438:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_avdec.c:316:42: note: Parameter 'priv' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_avdec.c:408:42: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'get_mimetypes' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_avdec.c:439:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_avdec.c:408:42: note: Parameter 'priv' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_avdec.c:415:43: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'get_extensions' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_avdec.c:440:23: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_avdec.c:415:43: note: Parameter 'priv' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_vcd.c:68:42: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'get_protocols' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_vcd.c:90:22: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/plugins/i_vcd.c:68:42: note: Parameter 'priv' can be declared as pointer to const gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdemux.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdemux.c:94:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdemux.c:138:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdemux.c:160:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdemux.c:228:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdump.c:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdump.c:91:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdump.c:98:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSANOW [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdump.c:109:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdump.c:157:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdump.c:215:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdump.c:495:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavsave.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavsave.c:45:35: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavsave.c:41:14: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavsave.c:41:14: note: Assignment 'out=fopen(argv[2],"w")', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavsave.c:45:35: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavsave.c:49:10: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavsave.c:41:14: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavsave.c:41:14: note: Assignment 'out=fopen(argv[2],"w")', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavsave.c:49:10: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:223:3: warning: If memory allocation fails, then there is a possible null pointer dereference: attr_end [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:220:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:220:16: note: Assignment '*ret=calloc(1,sizeof(**ret))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:221:14: note: Assignment 'attr_end=*ret', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:223:3: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:243:7: warning: If memory allocation fails, then there is a possible null pointer dereference: attr_end [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:240:30: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:240:30: note: Assignment 'attr_end->next=calloc(1,sizeof(*attr_end->next))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:241:26: note: Assignment 'attr_end=attr_end->next', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:243:7: note: Null pointer dereference gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:299:10: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:431:10: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:552:10: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:654:55: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:667:57: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/count_frames.c:36:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/yml.c:65:10: style: struct member 'parser_t::buffer_ptr' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/count_samples.c:38:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/frametable.c:28:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/frametable.c:66:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_DECODE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/indexdump.c:26:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/indexdump.c:38:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/indextest.c:31:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/mmstest.c:38:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/rtsptest.c:52:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/mmstest.c:31:16: style: Variable 'mms' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/ymltest.c:38:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/seektest.c:58:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/seektest.c:92:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_DECODE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/seektest.c:112:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_STREAM_DECODE [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/seektest.c:158:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/seektest.c:267:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/seektest.c:396:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/seektest.c:339:10: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:215:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdump.c:732:15: style: Condition 'track>=0' is always true [knownConditionTrueFalse] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdump.c:725:12: note: Assuming that condition 'track<0' is not redundant gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/tests/bgavdump.c:732:15: note: Condition 'track>=0' is always true gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:185:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:185:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:185:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:173:7: style: Local variable 'i' shadows outer variable [shadowVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:88:6: note: Shadowed declaration gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:173:7: note: Shadow variable gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:87:8: style: Variable 'model_name' can be declared as pointer to const [constVariablePointer] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:132:5: style: Variable 'cap' can be declared as const array [constVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:166:5: style: Variable 'cap_amd' can be declared as const array [constVariable] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:106:21: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:108:25: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:109:25: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:112:29: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:114:26: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:106:27: error: Signed integer overflow for expression '(1<<31)+0'. [integerOverflow] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:108:31: error: Signed integer overflow for expression '(1<<31)+1'. [integerOverflow] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:109:31: error: Signed integer overflow for expression '(1<<31)+1'. [integerOverflow] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:112:35: error: Signed integer overflow for expression '(1<<31)+4'. [integerOverflow] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:114:32: error: Signed integer overflow for expression '(1<<31)+i'. [integerOverflow] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:113:12: note: Assignment 'i=2', assigned value is 2 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:114:32: note: Integer overflow gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:131:10: style: struct member 'Anonymous0::description' is never used. [unusedStructMember] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/utils/cpuinfo.c:165:10: style: struct member 'Anonymous1::description' is never used. [unusedStructMember] diff: 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:115:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:203:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:213:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:208:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:208:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:213:3: note: Null pointer dereference 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:214:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:208:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:208:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:214:3: note: Null pointer dereference 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:215:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:208:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:208:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:215:3: note: Null pointer dereference 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:222:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:208:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:208:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:222:3: note: Null pointer dereference 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:225:18: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:208:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:208:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:225:18: note: Null pointer dereference head gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:33:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] head gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:33:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:76:37: style: Parameter 'f' can be declared as pointer to const. However it seems that 'cleanup_adts' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:234:18: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:76:37: note: Parameter 'f' can be declared as pointer to const 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:86:47: style: Parameter 'f' can be declared as pointer to const. However it seems that 'reset_adts' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:232:16: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:86:47: note: Parameter 'f' can be declared as pointer to const 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/bsf_adts.c:90:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_TIME_UNDEFINED [valueFlowBailoutIncompleteVar] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:118:34: style: Parameter 'h' can be declared as pointer to const. However it seems that 'lavf_open' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:164:5: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:118:34: note: Parameter 'h' can be declared as pointer to const 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:123:34: style: Parameter 'h' can be declared as pointer to const. However it seems that 'lavf_read' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:165:5: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:123:34: note: Parameter 'h' can be declared as pointer to const 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:135:35: style: Parameter 'h' can be declared as pointer to const. However it seems that 'lavf_write' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:166:5: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:135:35: note: Parameter 'h' can be declared as pointer to const 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:140:38: style: Parameter 'h' can be declared as pointer to const. However it seems that 'lavf_seek' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:167:5: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:140:38: note: Parameter 'h' can be declared as pointer to const 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:145:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGAV_INPUT_CAN_SEEK_BYTE [valueFlowBailoutIncompleteVar] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:157:35: style: Parameter 'h' can be declared as pointer to const. However it seems that 'lavf_close' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:168:5: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:157:35: note: Parameter 'h' can be declared as pointer to const 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:201:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_INFO [valueFlowBailoutIncompleteVar] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:511:23: style: Variable 'map' can be declared as pointer to const [constVariablePointer] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:531:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVDISCARD_NONE [valueFlowBailoutIncompleteVar] head gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:547:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] head gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:547:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:575:23: style: Variable 'map' can be declared as pointer to const [constVariablePointer] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:609:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVDISCARD_NONE [valueFlowBailoutIncompleteVar] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:659:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:656:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:656:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:659:3: note: Null pointer dereference 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:683:18: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:656:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:656:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:683:18: note: Null pointer dereference 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:683:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv_data [valueFlowBailoutIncompleteVar] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:689:3: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:656:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:656:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:689:3: note: Null pointer dereference 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:702:34: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:656:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:656:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:702:34: note: Null pointer dereference 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:702:58: warning: If memory allocation fails, then there is a possible null pointer dereference: priv [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:656:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:656:16: note: Assignment 'priv=calloc(1,sizeof(*priv))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:702:58: note: Null pointer dereference 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:76:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_STREAM_VIDEO [valueFlowBailoutIncompleteVar] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:806:51: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'close_ffmpeg' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:933:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:806:51: note: Parameter 'ctx' can be declared as pointer to const 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:813:23: warning: Either the condition 'priv' is redundant or there is possible null pointer dereference: priv. [nullPointerRedundantCheck] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:822:6: note: Assuming that condition 'priv' is not redundant gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:813:23: note: Null pointer dereference 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:831:26: style: Variable 'pal' is not assigned a value. [unassignedVariable] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:835:14: style: Variable 'pal_i' can be declared as pointer to const [constVariablePointer] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:840:10: style: Variable 'pal_i_len' is not assigned a value. [unassignedVariable] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:846:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_SOURCE_EOF [valueFlowBailoutIncompleteVar] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:881:22: style: Unused variable: palette [unusedVariable] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:894:20: error: Uninitialized variable: pal_i_len [uninitvar] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:897:7: error: Uninitialized variable: pal [uninitvar] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:917:50: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'seek_ffmpeg' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:932:20: note: You might need to cast the function pointer here gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:917:50: note: Parameter 'ctx' can be declared as pointer to const 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/demux_ffmpeg.c:923:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_TIME_BASE [valueFlowBailoutIncompleteVar] head gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pngreader.c:140:0: error: failed to evaluate #if condition, undefined function-like macro invocation: BGAV_MAKE_BUILD( ... ) [preprocessorErrorDirective] head gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pngreader.c:140:2: error: failed to evaluate #if condition, undefined function-like macro invocation: BGAV_MAKE_BUILD( ... ) [preprocessorErrorDirective] 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pngreader.c:268:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rows [nullPointerOutOfMemory] gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pngreader.c:266:16: note: Assuming allocation function fails gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pngreader.c:266:16: note: Assignment 'rows=malloc(png->format.frame_height*sizeof(*rows))', assigned value is 0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pngreader.c:268:5: note: Null pointer dereference 2.18.0 gmerlin-avdecoder-2.0.0~svngit.20240110.09d9073/lib/pngreader.c:91:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_LOG_ERROR [valueFlowBailoutIncompleteVar] DONE