PVS-Studio Analysis Results


Date:12/19/21 18:13:45
PVS-Studio Version:7.16.55368.3308
Total Warnings (GA):2253
Total Warnings (OP):667
Total Warnings (64):337
Fails/Info:1
Group Projects Location Level Code CWE Message

High Renew Your license will expire in 2 days. Click 'Renew' to learn more or contact us at support@viva64.com. This is an information message. You can continue using the analyzer with your current license.
64-bit errors

BaseClasses

cprop.cpp:272 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

cprop.cpp:280 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

BaseClasses

dllentry.cpp:371 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

dllsetup.cpp:43 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

dllsetup.cpp:181 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

dllsetup.cpp:195 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

dllsetup.cpp:404 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'strlen' function.
64-bit errors

BaseClasses

dllsetup.cpp:560 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'strlen' function.
64-bit errors

BaseClasses

winctrl.cpp:163 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

winctrl.cpp:237 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

BaseClasses

winctrl.cpp:291 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

winctrl.cpp:677 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

winctrl.cpp:683 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

BaseClasses

winutil.cpp:174 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

BaseClasses

winutil.cpp:252 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

winutil.cpp:253 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

winutil.cpp:442 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

winutil.cpp:442 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

BaseClasses

winutil.cpp:976 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

winutil.cpp:980 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

winutil.cpp:987 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:208 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:736 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'strlen' function.
64-bit errors

BaseClasses

wxdebug.cpp:861 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1153 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1158 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1163 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1166 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1195 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1200 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1216 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

Bento4

Ap4Array.h:67 Medium V302 Member operator[] of 'AP4_Array' class has a 32-bit type argument. Use memsize-type here.
64-bit errors

Bento4

Ap4Array.h:68 Medium V302 Member operator[] of 'AP4_Array' class has a 32-bit type argument. Use memsize-type here.
64-bit errors

coolsb

coolsblib.c:206 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

coolsb

coolsblib.c:211 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

coolsb

coolsblib.c:522 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

coolsb

coolsblib.c:534 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolsblib.c:535 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolsblib.c:545 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolsblib.c:546 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:764 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:1549 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:1559 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:1566 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:2697 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:2703 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:2712 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

Detours

image.cpp:1013 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1035 Medium V303 The function 'GetFileSize' is deprecated in the Win64 system. It is safer to use the 'GetFileSizeEx' function.
64-bit errors

Detours

image.cpp:1616 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1632 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1653 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1673 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1900 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1939 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1969 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1990 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:2002 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:2009 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:2019 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

lcms2

cmscgats.c:2303 Medium V124 Function 'fread' reads '132' bytes. The alignment rules and type sizes have been changed. Consider reviewing this value.
64-bit errors

lcms2

cmserr.c:56 Medium V303 The function 'ftell' is deprecated in the Win64 system. It is safer to use the '_ftelli64' function.
64-bit errors

lcms2

cmserr.c:60 Medium V303 The function 'fseek' is deprecated in the Win64 system. It is safer to use the '_fseeki64' function.
64-bit errors

lcms2

cmserr.c:64 Medium V303 The function 'ftell' is deprecated in the Win64 system. It is safer to use the '_ftelli64' function.
64-bit errors

lcms2

cmserr.c:65 Medium V303 The function 'fseek' is deprecated in the Win64 system. It is safer to use the '_fseeki64' function.
64-bit errors

lcms2

cmsio0.c:331 Medium V303 The function 'fseek' is deprecated in the Win64 system. It is safer to use the '_fseeki64' function.
64-bit errors

lcms2

cmsio0.c:344 Medium V303 The function 'ftell' is deprecated in the Win64 system. It is safer to use the '_ftelli64' function.
64-bit errors

libflac

bitreader.c:805 Low V127 An overflow of the 32-bit 'cwords' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libflac

bitreader.c:810 Low V127 An overflow of the 32-bit 'x' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libflac

bitreader.c:825 Low V127 An overflow of the 32-bit 'cwords' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libflac

bitreader.c:829 Low V127 An overflow of the 32-bit 'ucbits' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libflac

bitreader.c:853 Low V127 An overflow of the 32-bit 'msbs' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libflac

bitwise.c:41 Medium V118 malloc() function accepts a dangerous expression in the capacity of an argument.
64-bit errors

libflac

bitwise.c:88 Medium V118 realloc() function accepts a dangerous expression in the capacity of an argument.
64-bit errors

libflac

bitwise.c:131 Medium V118 realloc() function accepts a dangerous expression in the capacity of an argument.
64-bit errors

libflac

stream_decoder.c:275 Medium V118 malloc() function accepts a dangerous expression in the capacity of an argument.
64-bit errors

libpng

pngerror.c:189 Low V127 An overflow of the 32-bit 'count' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libpng

pngrtran.c:2353 Low V127 An overflow of the 32-bit 'channel' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libpng

pngrtran.c:2373 Low V127 An overflow of the 32-bit 'channel' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libpng

pngrutil.c:4034 Low V127 An overflow of the 32-bit 'a' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libpng

pngset.c:1019 Medium V118 png_malloc() function accepts a dangerous expression in the capacity of an argument.
64-bit errors

libsoxr

pffft-wrap.c:54 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(a)
64-bit errors

libsoxr

pffft-wrap.c:54 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(ab)
64-bit errors

libsoxr

pffft-wrap.c:54 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(b)
64-bit errors

libsoxr

pffft.c:1673 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(finput)
64-bit errors

libsoxr

pffft.c:1673 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(foutput)
64-bit errors

libsoxr

util-simd.c:53 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(a)
64-bit errors

libsoxr

util-simd.c:53 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(b)
64-bit errors

libsoxr

util-simd.c:76 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(a)
64-bit errors

libsoxr

util-simd.c:76 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(b)
64-bit errors

MediaInfo

File_Adm.cpp:55 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: 'sizeof (profile_names)'.
64-bit errors

MediaInfo

File_MpegPs.cpp:554 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize.
64-bit errors

MediaInfo

File_Mxf.cpp:3490 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: 'StreamPos'.
64-bit errors

MediaInfo

File_Riff_Elements.cpp:3560 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: 'sizeof (profile_names)'.
64-bit errors

MediaInfo

File_Id3v2.cpp:513 Medium V127 An overflow of the 32-bit 'Size' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

MediaInfo

File_Ffv1.cpp:1822 Medium V127 An overflow of the 32-bit 'v' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

MediaInfo

File_Ffv1.cpp:1744 Low V127 An overflow of the 32-bit 'Value' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

mfx_dispatch

mfx_library_iterator.cpp:391 High V114 Dangerous explicit type pointer conversion: (DWORD *) & pathSize
64-bit errors

mfx_dispatch

mfx_vector.h:138 Medium V127 An overflow of the 32-bit 'i' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

mfx_dispatch

mfx_vector.h:154 Medium V302 Member operator[] of 'MFXVector' class has a 32-bit type argument. Use memsize-type here.
64-bit errors

speex

cb_search.c:141 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:143 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:144 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:149 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:150 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:235 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:304 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:305 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:306 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:307 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:315 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:317 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:318 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:323 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:324 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:325 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:327 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:335 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:336 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:337 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:338 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:339 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:340 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:342 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:510 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:545 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:546 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:599 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:141 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:143 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:144 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:149 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:150 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:235 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:304 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:305 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:306 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:307 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:315 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:317 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:318 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:323 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:324 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:325 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:327 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:335 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:336 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:337 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:338 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:339 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:340 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:342 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:510 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:545 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:546 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:599 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search_sse.h:60 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search_sse.h:61 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search_sse.h:60 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search_sse.h:61 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:392 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:404 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:421 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:422 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:458 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:459 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:499 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:500 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:721 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:392 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:404 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:421 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:422 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:458 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:459 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:499 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:500 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:721 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

lsp.c:246 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

lsp.c:247 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

lsp.c:303 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

lsp.c:304 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

lsp.c:536 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

lsp.c:551 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

lsp.c:246 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

lsp.c:247 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

lsp.c:303 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

lsp.c:304 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

lsp.c:536 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

lsp.c:551 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:198 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:199 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:204 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:205 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:382 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:383 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:399 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:581 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:618 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:619 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:620 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:788 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:198 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:199 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:204 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:205 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:382 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:383 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:399 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:581 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:618 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:619 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:620 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:788 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp_sse.h:65 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp_sse.h:66 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp_sse.h:65 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp_sse.h:66 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:439 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:440 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:441 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:442 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:443 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:444 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:445 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:446 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:447 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:461 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:462 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:795 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:796 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:797 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:798 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:799 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:998 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1459 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1479 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1533 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1534 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1535 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1660 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1716 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:439 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:440 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:441 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:442 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:443 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:444 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:445 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:446 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:447 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:461 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:462 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:795 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:796 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:797 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:798 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:799 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:998 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1459 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1479 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1533 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1534 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1535 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1660 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1716 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:565 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:575 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:576 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:587 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:588 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:589 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:590 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:592 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:593 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:594 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:595 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:600 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:601 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:757 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:758 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:759 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:760 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:775 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:776 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:777 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:915 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1303 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1304 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1308 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1309 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1318 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1332 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1401 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:565 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:575 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:576 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:587 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:588 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:589 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:590 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:592 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:593 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:594 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:595 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:600 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:601 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:757 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:758 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:759 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:760 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:775 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:776 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:777 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:915 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1303 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1304 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1308 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1309 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1318 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1332 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1401 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

vq_sse.h:43 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

vq_sse.h:45 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

vq_sse.h:82 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

vq_sse.h:84 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

vq_sse.h:43 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

vq_sse.h:45 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

vq_sse.h:82 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

vq_sse.h:84 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

ZenLib

File.cpp:980 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

ZenLib

Http_Request.cpp:222 Medium V128 The 'Http->Response_HTTP_Code' variable of the memsize type is written to a stream. Consider verifying the compatibility of 32 and 64 bit versions of the application in the context of a stored data.
64-bit errors

ZenLib

Http_Request.cpp:235 Medium V128 The 'Http->Response_Body.size()' variable of the memsize type is written to a stream. Consider verifying the compatibility of 32 and 64 bit versions of the application in the context of a stored data.
64-bit errors

zlib

adler32.c:91 Medium V127 An overflow of the 32-bit 'adler' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

zlib

adler32.c:92 Medium V127 An overflow of the 32-bit 'sum2' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

zlib

adler32.c:120 Medium V127 An overflow of the 32-bit 'adler' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

zlib

adler32.c:121 Medium V127 An overflow of the 32-bit 'sum2' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
General Analysis

AsyncReader

asyncio.cpp:176 Medium V668 CWE-570 There is no sense in testing the 'pRequest' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

AsyncReader

asyncio.cpp:459 Low V513 CWE-676 Use _beginthreadex/_endthreadex functions instead of CreateThread/ExitThread functions.
General Analysis

AsyncReader

asyncrdr.cpp:123 High V773 CWE-401 The function was exited without releasing the 'pMemObject' pointer. A memory leak is possible.
General Analysis

AsyncReader

asyncrdr.cpp:149 Medium V547 CWE-571 Expression 'pPreferred' is always true.
General Analysis

AsyncReader

asyncrdr.cpp:104 Medium V668 CWE-570 There is no sense in testing the 'pMemObject' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

AsyncReader

asyncrdr.cpp:234 Low V519 CWE-563 The 'hr' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 212, 234.
General Analysis

AsyncReader

asyncrdr.cpp:291 Low V519 CWE-563 The 'hr' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 269, 291.
General Analysis

BaseClasses

amfilter.cpp:3796 High V568 CWE-131 It's odd that 'sizeof()' operator evaluates the size of a pointer to a class, but not the size of the class object.
General Analysis

BaseClasses

amfilter.cpp:3839 High V568 CWE-131 It's odd that 'sizeof()' operator evaluates the size of a pointer to a class, but not the size of the class object.
General Analysis

BaseClasses

amfilter.cpp:3259 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_pNext, m_Start, m_End, m_MediaStart, m_MediaEnd.
General Analysis

BaseClasses

amfilter.cpp:3290 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_pNext, m_Start, m_End, m_MediaStart, m_MediaEnd.
General Analysis

BaseClasses

amfilter.cpp:4649 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

BaseClasses

amfilter.cpp:780 Medium V668 CWE-571 There is no sense in testing the 'm_pName' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

amfilter.cpp:1521 Medium V668 CWE-571 There is no sense in testing the 'm_pName' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

amfilter.cpp:1573 Medium V668 CWE-571 There is no sense in testing the 'm_pName' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

amfilter.cpp:5211 Medium V668 CWE-570 There is no sense in testing the 'pSample' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

amfilter.cpp:3730 Low V1003 The macro 'CONTAINS_FIELD' is a dangerous expression. The parameter 'offset' must be surrounded by parentheses.
General Analysis

BaseClasses

amfilter.cpp:1069 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'AreWeOutOfSync() != FALSE'.
General Analysis

BaseClasses

amfilter.cpp:1106 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'AreWeOutOfSync() != FALSE'.
General Analysis

BaseClasses

amfilter.cpp:1162 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'AreWeOutOfSync() != FALSE'.
General Analysis

BaseClasses

amfilter.cpp:1318 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'AreWeOutOfSync() != FALSE'.
General Analysis

BaseClasses

amfilter.cpp:1352 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'AreWeOutOfSync() != FALSE'.
General Analysis

BaseClasses

amfilter.cpp:1429 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'AreWeOutOfSync() != FALSE'.
General Analysis

BaseClasses

amfilter.cpp:5086 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bCommitted != FALSE'.
General Analysis

BaseClasses

amfilter.h:353 Medium V703 It is odd that the 'm_cRef' field in derived class 'CBasePin' overwrites field in base class 'CUnknown'. Check lines: amfilter.h:353, combase.h:217.
General Analysis

BaseClasses

amvideo.cpp:75 Low V1048 CWE-1164 The 'pMask' variable was assigned the same value.
General Analysis

BaseClasses

arithutil.cpp:186 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'ulic.QuadPart' should be checked here.
General Analysis

BaseClasses

arithutil.cpp:346 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'uliDividend.LowPart' should be checked here.
General Analysis

BaseClasses

combase.cpp:130 Medium V665 Possibly, the usage of '#pragma warning(default: X)' is incorrect in this context. The '#pragma warning(push/pop)' should be used instead. Check lines: 87, 130.
General Analysis

BaseClasses

ctlutil.cpp:1831 High V745 CWE-704 A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function.
General Analysis

BaseClasses

ctlutil.cpp:1274 Medium V560 CWE-571 A part of conditional expression is always true: (((HRESULT)(hr)) >= 0).
General Analysis

BaseClasses

ctlutil.cpp:1764 Medium V668 CWE-570 There is no sense in testing the 'rgvarg' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

ctlutil.cpp:1828 Medium V668 CWE-571 There is no sense in testing the 'pch' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

ctlutil.cpp:2212 Medium V668 CWE-570 There is no sense in testing the 'pCmd' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

ctlutil.cpp:1143 Low V524 It is odd that the body of 'IsUsingTimeFormat' function is fully equivalent to the body of 'IsFormatSupported' function.
General Analysis

BaseClasses

ctlutil.cpp:1149 Low V524 It is odd that the body of 'GetTimeFormatW' function is fully equivalent to the body of 'QueryPreferredFormat' function.
General Analysis

BaseClasses

ctlutil.cpp:791 Low V550 CWE-682 An odd precise comparison: 0.0 == dRate. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

BaseClasses

ctlutil.cpp:927 Low V550 CWE-682 An odd precise comparison: 0.0 == dRate. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

BaseClasses

ctlutil.cpp:1039 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bReset != FALSE'.
General Analysis

BaseClasses

ctlutil.cpp:1073 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bReset != FALSE'.
General Analysis

BaseClasses

dllentry.cpp:281 Medium V547 CWE-571 Expression 'hLib' is always true.
General Analysis

BaseClasses

dllentry.cpp:209 Low V572 CWE-665 It is odd that the object which was created using 'new' operator is immediately cast to another type.
General Analysis

BaseClasses

dllsetup.cpp:490 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'pIFM'.
General Analysis

BaseClasses

msgthrd.h:82 Medium V720 It is advised to utilize the 'SuspendThread' function only when developing a debugger (see documentation for details).
General Analysis

BaseClasses

mtype.cpp:90 Low V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

BaseClasses

outputq.cpp:651 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

BaseClasses

outputq.cpp:98 Medium V668 CWE-570 There is no sense in testing the 'm_ppSamples' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

outputq.cpp:117 Medium V668 CWE-570 There is no sense in testing the 'm_List' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

outputq.cpp:417 Medium V668 CWE-570 There is no sense in testing the 'ppack' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

outputq.cpp:426 Low V1027 CWE-704 Pointer to an object of the 'NewSegmentPacket' class is cast to unrelated 'IMediaSample' class.
General Analysis

BaseClasses

outputq.cpp:124 Low V513 CWE-676 Use _beginthreadex/_endthreadex functions instead of CreateThread/ExitThread functions.
General Analysis

BaseClasses

outputq.cpp:367 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'ppacket'.
General Analysis

BaseClasses

pullpin.cpp:19 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_tStart, m_tStop, m_tDuration, m_bSync.
General Analysis

BaseClasses

refclock.cpp:88 Medium V668 CWE-570 There is no sense in testing the 'm_pSchedule' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

refclock.cpp:113 Low V513 CWE-676 Use _beginthreadex/_endthreadex functions instead of CreateThread/ExitThread functions.
General Analysis

BaseClasses

reftime.h:49 Low V690 The 'CRefTime' class implements the copy assignment operator, but lacks a copy constructor. It is dangerous to use such a class.
General Analysis

BaseClasses

renbase.cpp:205 High V510 CWE-686 The 'DbgLogInfo' function is not expected to receive class-type variable as fourth actual argument.
General Analysis

BaseClasses

renbase.cpp:214 High V510 CWE-686 The 'DbgLogInfo' function is not expected to receive class-type variable as fourth actual argument.
General Analysis

BaseClasses

renbase.cpp:227 High V510 CWE-686 The 'DbgLogInfo' function is not expected to receive class-type variable as fourth actual argument.
General Analysis

BaseClasses

renbase.cpp:122 Medium V668 CWE-570 There is no sense in testing the 'm_pPosition' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

renbase.cpp:624 Medium V668 CWE-570 There is no sense in testing the 'm_pInputPin' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

renbase.cpp:900 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'm_pClock'.
General Analysis

BaseClasses

renbase.cpp:157 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'bCanWait != FALSE'.
General Analysis

BaseClasses

renbase.cpp:371 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'IsEndOfStream() != FALSE'.
General Analysis

BaseClasses

renbase.cpp:378 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'HaveCurrentSample() != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1074 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'IsActive() != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1076 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_pInputPin->IsConnected() != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1094 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bStreaming != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1369 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bStreaming != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1410 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bStreaming != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1472 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_pInputPin->IsConnected() != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1475 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bRepaintStatus != FALSE'.
General Analysis

BaseClasses

renbase.h:247 Low V1003 The macro 'DO_MOVING_AVG' is a dangerous expression. The parameters 'avg', 'obs' must be surrounded by parentheses.
General Analysis

BaseClasses

schedule.cpp:101 Medium V668 CWE-571 There is no sense in testing the 'p' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

schedule.cpp:169 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'pAdvise->m_bPeriodic != FALSE'.
General Analysis

BaseClasses

schedule.h:43 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_next, m_dwAdviseCookie, m_rtEventTime, m_rtPeriod, m_hNotify, m_bPeriodic.
General Analysis

BaseClasses

schedule.h:53 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_dwAdviseCookie, m_rtPeriod, m_hNotify, m_bPeriodic.
General Analysis

BaseClasses

seekpt.cpp:72 Medium V668 CWE-570 There is no sense in testing the 'm_pPosPassThru' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

source.cpp:420 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 420, 433
General Analysis

BaseClasses

source.cpp:85 Medium V668 CWE-570 There is no sense in testing the 'paStreams' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

source.cpp:67 Medium V776 CWE-835 Potentially infinite loop. The variable in the loop exit condition 'm_iPins != 0' does not change its value between iterations.
General Analysis

BaseClasses

source.h:138 Medium V762 CWE-670 It is possible a virtual function was overridden incorrectly. See first argument of function 'Run' in derived class 'CSourceStream' and base class 'CBasePin'.
General Analysis

BaseClasses

strmctl.cpp:13 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_bStopExtraSent, m_pSink, m_tRunStart.
General Analysis

BaseClasses

transfrm.cpp:457 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'm_pOutput'.
General Analysis

BaseClasses

transfrm.cpp:109 Low V572 CWE-665 It is odd that the object which was created using 'new' operator is immediately cast to another type.
General Analysis

BaseClasses

transip.cpp:570 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

BaseClasses

vtrans.cpp:14 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_bNoSkip, m_nWaitForKey.
General Analysis

BaseClasses

vtrans.h:138 Medium V703 It is odd that the 'm_bQualityChanged' field in derived class 'CVideoTransformFilter' overwrites field in base class 'CTransformFilter'. Check lines: vtrans.h:138, transfrm.h:277.
General Analysis

BaseClasses

winctrl.cpp:243 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'bVisible != FALSE'.
General Analysis

BaseClasses

winctrl.cpp:326 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'IsWindowVisible(m_hwnd) != FALSE'.
General Analysis

BaseClasses

winctrl.cpp:329 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'IsIconic(m_hwnd) != FALSE'.
General Analysis

BaseClasses

winctrl.cpp:334 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'IsZoomed(m_hwnd) != FALSE'.
General Analysis

BaseClasses

winctrl.cpp:429 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'Mode != FALSE'.
General Analysis

BaseClasses

winctrl.cpp:900 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

BaseClasses

winctrl.cpp:996 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bAutoShow != FALSE'.
General Analysis

BaseClasses

winctrl.cpp:1081 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bCursorHidden != FALSE'.
General Analysis

BaseClasses

winctrl.h:14 Low V1003 The macro 'ABSOL' is a dangerous expression. The parameter 'x' must be surrounded by parentheses.
General Analysis

BaseClasses

winctrl.h:15 Low V1003 The macro 'NEGAT' is a dangerous expression. The parameter 'x' must be surrounded by parentheses.
General Analysis

BaseClasses

winutil.cpp:2178 High V512 CWE-682 A call of the 'memset' function will lead to underflow of the buffer '& m_Display'.
General Analysis

BaseClasses

winutil.cpp:1667 High V595 CWE-476 The 'm_pMediaType' pointer was utilized before it was verified against nullptr. Check lines: 1667, 1668.
General Analysis

BaseClasses

winutil.cpp:20 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_Width, m_Height, m_RealizePalette.
General Analysis

BaseClasses

winutil.cpp:1456 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_pMediaType.
General Analysis

BaseClasses

winutil.cpp:1737 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_DibData.
General Analysis

BaseClasses

winutil.cpp:2343 Medium V581 CWE-670 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 2332, 2343.
General Analysis

BaseClasses

winutil.cpp:1630 Medium V668 CWE-570 There is no sense in testing the 'pSample' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

winutil.cpp:2033 Medium V668 CWE-570 There is no sense in testing the 'lp' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

winutil.cpp:999 Low V1027 CWE-704 Pointer to an object of the 'tagBITMAPINFOHEADER' class is cast to unrelated 'tagRGBQUAD' class.
General Analysis

BaseClasses

winutil.cpp:2566 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2566, 2567
General Analysis

BaseClasses

winutil.cpp:2565 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'bits555', 'bits888', 'bits888' in lines 2565, 2566, 2567.
General Analysis

BaseClasses

winutil.cpp:54 Low V547 CWE-571 Expression 'm_hwnd == 0' is always true.
General Analysis

BaseClasses

winutil.cpp:976 Low V547 CWE-571 Expression 'lstrlenW(szTimes) < TIMELENGTH' is always true.
General Analysis

BaseClasses

winutil.cpp:236 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bActivated != FALSE'.
General Analysis

BaseClasses

winutil.cpp:280 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bActivated != FALSE'.
General Analysis

BaseClasses

winutil.cpp:1764 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bInit != FALSE'.
General Analysis

BaseClasses

winutil.cpp:1828 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'ContainsPalette(pNewInfo) != FALSE'.
General Analysis

BaseClasses

winutil.cpp:1829 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'ContainsPalette(pOldInfo) != FALSE'.
General Analysis

BaseClasses

winutil.cpp:2024 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'ContainsPalette(pVideoInfo) != FALSE'.
General Analysis

BaseClasses

wxdebug.cpp:1238 High V603 CWE-665 The object was created but it is not being used. If you wish to call constructor, 'this->CDisp::CDisp(....)' should be used.
General Analysis

BaseClasses

wxdebug.cpp:1302 High V646 CWE-670 Consider inspecting the application's logic. It's possible that 'else' keyword is missing.
General Analysis

BaseClasses

wxdebug.cpp:199 Medium V557 CWE-119 Array overrun is possible. The value of 'lKeyPos' index could reach 10.
General Analysis

BaseClasses

wxdebug.cpp:315 Medium V560 CWE-571 A part of conditional expression is always true: szFile[0].
General Analysis

BaseClasses

wxdebug.cpp:901 Medium V668 CWE-570 There is no sense in testing the 'pObject' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxdebug.cpp:1196 Medium V668 CWE-570 There is no sense in testing the 'm_pString' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxdebug.cpp:1219 Medium V668 CWE-571 There is no sense in testing the 'm_pString' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxdebug.cpp:509 Low V513 CWE-676 Use _beginthreadex/_endthreadex functions instead of CreateThread/ExitThread functions.
General Analysis

BaseClasses

wxdebug.cpp:316 Low V526 CWE-253 The 'lstrcmpiW' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

BaseClasses

wxdebug.cpp:317 Low V526 CWE-253 The 'lstrcmpiW' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

BaseClasses

wxdebug.cpp:318 Low V526 CWE-253 The 'lstrcmpiW' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

BaseClasses

wxdebug.cpp:247 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.cpp:258 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.cpp:728 Low V576 CWE-628 Incorrect format. Consider checking the sixth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.cpp:856 Low V576 CWE-628 Incorrect format. Consider checking the sixth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.cpp:1021 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.cpp:1023 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.cpp:1029 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.h:292 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_String.
General Analysis

BaseClasses

wxlist.cpp:410 Medium V668 CWE-570 There is no sense in testing the 'pNode' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxlist.cpp:459 Medium V668 CWE-570 There is no sense in testing the 'pNode' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxlist.cpp:563 Medium V668 CWE-570 There is no sense in testing the 'pNode' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxlist.cpp:630 Medium V668 CWE-570 There is no sense in testing the 'pNode' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxlist.cpp:341 Low V547 CWE-571 Expression 'pCurrent != 0' is always true.
General Analysis

BaseClasses

wxlist.cpp:550 Low V547 CWE-571 Expression 'pAfter != 0' is always true.
General Analysis

BaseClasses

wxlist.cpp:619 Low V547 CWE-571 Expression 'pBefore != 0' is always true.
General Analysis

BaseClasses

wxlist.h:89 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_pPrev, m_pNext, m_pObject.
General Analysis

BaseClasses

wxutil.cpp:100 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_dwParam, m_dwReturnVal.
General Analysis

BaseClasses

wxutil.cpp:635 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

BaseClasses

wxutil.cpp:378 Low V1003 The macro 'MEMORY_ALIGNMENT_MASK' is a dangerous expression. The expression must be surrounded by parentheses.
General Analysis

BaseClasses

wxutil.cpp:290 Low V513 CWE-676 Use _beginthreadex/_endthreadex functions instead of CreateThread/ExitThread functions.
General Analysis

Bento4

Ap4Atom.cpp:409 High V757 CWE-690 It is possible that an incorrect variable is compared with nullptr after type conversion using 'dynamic_cast'. Check lines: 409, 410.
General Analysis

Bento4

Ap4Atom.cpp:412 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'container'.
General Analysis

Bento4

Ap4Atom.cpp:184 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4AtomFactory.cpp:424 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 424, 745
General Analysis

Bento4

Ap4AtomFactory.cpp:368 Medium V519 CWE-563 The 'm_Context' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 366, 368.
General Analysis

Bento4

Ap4AtomFactory.h:62 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_TypeHandlers.
General Analysis

Bento4

Ap4AtomSampleTable.cpp:154 Medium V614 CWE-457 Potentially uninitialized variable 'offset' used.
General Analysis

Bento4

Ap4ByteStream.cpp:48 High V595 CWE-476 The 'buffer' pointer was utilized before it was verified against nullptr. Check lines: 48, 51.
General Analysis

Bento4

Ap4DataBuffer.h:40 Medium V690 The 'AP4_DataBuffer' class implements a copy constructor, but lacks the copy assignment operator. It is dangerous to use such a class.
General Analysis

Bento4

Ap4Debug.cpp:49 Medium V618 CWE-134 It's dangerous to call the 'printf' function in such a manner, as the line being passed could contain format specification. The example of the safe code: printf("%s", str);
General Analysis

Bento4

Ap4DecoderConfigDescriptor.cpp:130 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4DecoderConfigDescriptor.cpp:130 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4Descriptor.cpp:109 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4Descriptor.cpp:109 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4ElstAtom.cpp:55 Low V560 CWE-571 A part of conditional expression is always true: media_time >= 0. Unsigned type value is always >= 0.
General Analysis

Bento4

Ap4EsDescriptor.cpp:40 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_SubDescriptors.
General Analysis

Bento4

Ap4EsDescriptor.cpp:81 Medium V668 CWE-571 There is no sense in testing the 'url' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Bento4

Ap4EsDescriptor.cpp:167 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4EsDescriptor.cpp:167 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4File.cpp:91 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'sidxAtom'.
General Analysis

Bento4

Ap4File.cpp:47 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_FileType, m_OtherAtoms.
General Analysis

Bento4

Ap4FragmentSampleTable.cpp:132 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'sample_flags' should be checked here.
General Analysis

Bento4

Ap4HintTrackReader.cpp:317 Low V519 CWE-563 The 'result' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 314, 317.
General Analysis

Bento4

Ap4IsmaCryp.cpp:634 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_KeyEntries.
General Analysis

Bento4

Ap4IsmaCryp.cpp:573 Low V779 CWE-561 Unreachable code detected. It is possible that an error is present.
General Analysis

Bento4

Ap4MdhdAtom.cpp:88 High V575 CWE-628 The 'memset' function processes '0' elements. Inspect the third argument.
General Analysis

Bento4

Ap4MoovAtom.cpp:66 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_TrakAtoms.
General Analysis

Bento4

Ap4MoovAtom.cpp:108 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'dst'. Check lines: 108, 107.
General Analysis

Bento4

Ap4MoovAtom.cpp:107 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'dst' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

Bento4

Ap4Movie.cpp:484 High V654 CWE-834 The condition 'index >= 0' of loop is always true.
General Analysis

Bento4

Ap4Movie.cpp:82 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_Tracks.
General Analysis

Bento4

Ap4Movie.cpp:557 Medium V586 CWE-675 The 'delete' operator is called twice for deallocation of the same memory space.
General Analysis

Bento4

Ap4RtpHint.cpp:299 High V502 CWE-783 Perhaps the '?:' operator works in a different way than it was expected. The '?:' operator has a lower priority than the '+' operator.
General Analysis

Bento4

Ap4RtpHint.cpp:446 High V614 CWE-457 Uninitialized buffer 'pad' used. Consider checking the first actual argument of the 'Write' function.
General Analysis

Bento4

Ap4RtpHint.cpp:495 High V614 CWE-457 Uninitialized buffer 'pad' used. Consider checking the first actual argument of the 'Write' function.
General Analysis

Bento4

Ap4RtpHint.cpp:153 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_Constructors.
General Analysis

Bento4

Ap4RtpHint.h:55 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_Packets.
General Analysis

Bento4

Ap4SampleEntry.cpp:354 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

Bento4

Ap4SampleEntry.cpp:60 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_Reserved1, m_DataReferenceIndex.
General Analysis

Bento4

Ap4SampleEntry.cpp:1055 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'color_count' should be checked here.
General Analysis

Bento4

Ap4SampleEntry.cpp:539 Low V519 CWE-563 The 'result' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 536, 539.
General Analysis

Bento4

Ap4SampleEntry.cpp:1072 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'ReadUI32', 'ReadUI16', 'ReadUI16' in lines 1072, 1073, 1074.
General Analysis

Bento4

Ap4SampleEntry.cpp:409 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_QtVersion, m_QtRevision, m_QtVendor, m_ChannelCount, m_SampleSize, m_QtCompressionId, ...
General Analysis

Bento4

Ap4StscAtom.cpp:99 Medium V649 CWE-561 There are two 'if' statements with identical conditional expressions. The first 'if' statement contains function return. This means that the second 'if' statement is senseless. Check lines: 97, 99.
General Analysis

Bento4

Ap4StscAtom.cpp:101 Medium V649 CWE-561 There are two 'if' statements with identical conditional expressions. The first 'if' statement contains function return. This means that the second 'if' statement is senseless. Check lines: 99, 101.
General Analysis

Bento4

Ap4SyntheticSampleTable.cpp:39 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_SampleDescriptions.
General Analysis

Bento4

Ap4TkhdAtom.cpp:42 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_DataVersion1.
General Analysis

Bento4

Ap4TkhdAtom.cpp:83 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_DataVersion1.
General Analysis

Bento4

Ap4Track.cpp:178 Medium V522 CWE-690 There might be dereferencing of a potential null pointer.
General Analysis

Bento4

Ap4TrakAtom.cpp:193 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'co64'.
General Analysis

Bento4

Ap4TrakAtom.cpp:199 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'stco'.
General Analysis

Bento4

Ap4Utils.cpp:343 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'snprintf' function. The SIGNED integer type argument is expected.
General Analysis

Bento4

Ap4Utils.h:42 Low V1003 The macro 'MIN' is a dangerous expression. The parameters 'a', 'b' must be surrounded by parentheses.
General Analysis

Bento4

Ap4Utils.h:43 Low V1003 The macro 'MAX' is a dangerous expression. The parameters 'a', 'b' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:389 Low V1003 The macro '_lrotl' is a dangerous expression. The parameter 'n' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:597 Low V1003 The macro 'rf2' is a dangerous expression. The parameters 'r', 'c' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:645 Low V1003 The macro 'f2' is a dangerous expression. The parameter 'x' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:646 Low V1003 The macro 'f4' is a dangerous expression. The parameter 'x' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:647 Low V1003 The macro 'f8' is a dangerous expression. The parameter 'x' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1435 Low V1003 The macro 'si' is a dangerous expression. The parameters 'x', 'c' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1436 Low V1003 The macro 'so' is a dangerous expression. The parameters 'y', 'c' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1696 Low V1003 The macro 'inv_var' is a dangerous expression. The parameters 'r', 'c' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:869 Low V1059 Macro name overrides the 'const' keyword. This may lead to undefined behavior.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1201 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1202 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1203 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1204 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1205 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1209 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1210 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1211 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1212 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1218 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1219 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1220 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1221 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1646 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1647 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1648 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1649 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1650 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1651 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1652 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1653 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1654 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1655 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1656 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1657 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1658 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1659 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1688 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4StreamCipher.cpp:144 Medium V519 CWE-563 The 'chunk' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 140, 144.
General Analysis

coolsb

coolsblib.c:418 High V547 CWE-570 Expression '(0) > (lpsi->nPage)' is always false. Unsigned type value is never < 0.
General Analysis

coolsb

coolsblib.c:549 Medium V547 CWE-570 Expression 'bFailed' is always false.
General Analysis

coolsb

coolsblib.c:425 Medium V555 CWE-191 The expression '(mysi->nPage - 1) > (0)' will work as 'mysi->nPage != 1'.
General Analysis

coolsb

coolsblib.c:486 Medium V555 CWE-191 The expression '(mysi->nPage - 1) > (0)' will work as 'mysi->nPage != 1'.
General Analysis

coolsb

coolsblib.c:430 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'sbar'.
General Analysis

coolsb

coolsblib.c:531 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'fShow != FALSE'.
General Analysis

coolsb

coolsblib.c:542 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'fShow != FALSE'.
General Analysis

coolsb

coolscroll.c:1434 High V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

coolsb

coolscroll.c:3176 High V547 CWE-571 Expression 'message == 0x007D' is always true.
General Analysis

coolsb

coolscroll.c:877 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:894 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:914 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:933 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:970 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:990 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:1002 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:1016 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:1032 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:1042 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:1056 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:1592 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:2318 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:2330 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:2342 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:163 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

coolsb

coolscroll.c:2131 Medium V763 Parameter 'lParam' is always rewritten in function body before being used.
General Analysis

coolsb

coolscroll.c:2414 Medium V763 Parameter 'lParam' is always rewritten in function body before being used.
General Analysis

coolsb

coolscroll.c:684 Medium V764 CWE-683 Possible incorrect order of arguments passed to 'GetHorzScrollPortion' function: 'y' and 'x'.
General Analysis

coolsb

coolscroll.c:1708 Medium V764 CWE-683 Possible incorrect order of arguments passed to 'GetHorzPortion' function: 'y' and 'x'.
General Analysis

coolsb

coolscroll.c:2390 Medium V764 CWE-683 Possible incorrect order of arguments passed to 'ThumbTrackHorz' function: 'y' and 'x'.
General Analysis

coolsb

coolscroll.c:2060 Medium V779 CWE-561 Unreachable code detected. It is possible that an error is present.
General Analysis

coolsb

coolscroll.c:324 Low V524 It is odd that the body of 'GetSBBackColor' function is fully equivalent to the body of 'GetSBForeColor' function.
General Analysis

coolsb

coolscroll.c:2206 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'sw->fThumbTracking != FALSE'.
General Analysis

coolsb

coolscroll.c:2411 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'sw->fThumbTracking != FALSE'.
General Analysis

Detours

creatwth.cpp:733 Medium V547 CWE-571 Expression 'bIs64BitOS' is always true.
General Analysis

Detours

creatwth.cpp:777 Medium V547 CWE-570 Expression 'hModule == 0' is always false.
General Analysis

Detours

creatwth.cpp:1271 Medium V560 CWE-570 A part of conditional expression is always false: cOffset + 65536 < cSize.
General Analysis

Detours

creatwth.cpp:1255 Medium V668 CWE-570 There is no sense in testing the 'Helper' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

detours.cpp:1867 High V568 CWE-131 It's odd that 'sizeof()' operator evaluates the size of a pointer to a class, but not the size of the 'o->pTrampoline' class object.
General Analysis

Detours

detours.cpp:1620 High V595 CWE-476 The 'o->pTrampoline' pointer was utilized before it was verified against nullptr. Check lines: 1620, 1624.
General Analysis

Detours

detours.cpp:1906 High V595 CWE-476 The 'o->pTrampoline' pointer was utilized before it was verified against nullptr. Check lines: 1906, 1909.
General Analysis

Detours

detours.cpp:1350 Medium V560 CWE-571 A part of conditional expression is always true: pbTry == 0.
General Analysis

Detours

detours.cpp:1431 Medium V560 CWE-571 A part of conditional expression is always true: s_pRegion != 0.
General Analysis

Detours

detours.cpp:1963 Medium V668 CWE-570 There is no sense in testing the 't' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

detours.cpp:2084 Medium V668 CWE-570 There is no sense in testing the 'o' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

detours.cpp:2386 Medium V668 CWE-570 There is no sense in testing the 'o' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

detours.cpp:1976 Medium V720 It is advised to utilize the 'SuspendThread' function only when developing a debugger (see documentation for details).
General Analysis

Detours

detours.cpp:426 Low V522 CWE-628 Dereferencing of the null pointer 'pbCode' might take place. The potential null pointer is passed into 'detour_alloc_trampoline' function. Inspect the first argument. Check lines: 426, 1405, 2111.
General Analysis

Detours

detours.cpp:456 Low V522 CWE-628 Dereferencing of the null pointer 'pbCode' might take place. The potential null pointer is passed into 'detour_does_code_end_function' function. Inspect the first argument. Check lines: 456, 2188.
General Analysis

Detours

detours.cpp:2453 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'pTrampoline'.
General Analysis

Detours

detours.cpp:56 Low V566 CWE-587 The integer constant is converted to pointer. Possibly an error or a bad coding style: (PVOID)(ULONG_PTR) 0x70000000
General Analysis

Detours

detours.cpp:57 Low V566 CWE-587 The integer constant is converted to pointer. Possibly an error or a bad coding style: (PVOID)(ULONG_PTR) 0x80000000
General Analysis

Detours

detours.cpp:1350 Low V566 CWE-587 The integer constant is converted to pointer. Possibly an error or a bad coding style: (PBYTE) 0x40000000
General Analysis

Detours

detours.cpp:1354 Low V566 CWE-587 The integer constant is converted to pointer. Possibly an error or a bad coding style: (PBYTE) 0xffffffff40000000
General Analysis

Detours

detours.cpp:1358 Low V566 CWE-587 The integer constant is converted to pointer. Possibly an error or a bad coding style: (PBYTE) 0x40000000
General Analysis

Detours

detours.cpp:1362 Low V566 CWE-587 The integer constant is converted to pointer. Possibly an error or a bad coding style: (PBYTE) 0xffffffff40000000
General Analysis

Detours

detours.cpp:1424 Low V574 CWE-823 The 'pTrampoline' pointer is used simultaneously as an array and as a pointer to single object. Check lines: 1424, 1457.
General Analysis

Detours

disasm.cpp:326 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_nSegmentOverride, m_lScratchExtra, m_pbScratchTarget, m_rbScratchDst.
General Analysis

Detours

disasm.cpp:445 High V763 Parameter 'pEntry' is always rewritten in function body before being used.
General Analysis

Detours

disasm.cpp:589 High V763 Parameter 'pEntry' is always rewritten in function body before being used.
General Analysis

Detours

disasm.cpp:898 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '1', '4', '4', '4' in lines 898, 899, 900, 901.
General Analysis

Detours

image.cpp:540 High V595 CWE-476 The 'pcbData' pointer was utilized before it was verified against nullptr. Check lines: 540, 545.
General Analysis

Detours

image.cpp:327 Medium V668 CWE-570 There is no sense in testing the 'pszOut' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:441 Medium V668 CWE-570 There is no sense in testing the 'pbNew' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:873 Medium V668 CWE-570 There is no sense in testing the 'pOutput' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:1154 Medium V668 CWE-570 There is no sense in testing the 'pImportFile' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:1214 Medium V668 CWE-570 There is no sense in testing the 'pImportFile->m_pImportNames' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:1324 Medium V668 CWE-570 There is no sense in testing the 'm_pImageData' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:1401 Medium V668 CWE-570 There is no sense in testing the 'pImportFile' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:1424 Medium V668 CWE-571 There is no sense in testing the 'pImportFile' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:2036 Medium V668 CWE-570 There is no sense in testing the 'pImage' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:1244 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'pLookThunk'.
General Analysis

Detours

image.cpp:762 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_nNextFileAddr, m_nNextVirtAddr, m_DosHeader, m_NtHeader, m_SectionHeaders, m_nPrePE, ...
General Analysis

Detours

modules.cpp:521 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'pwOrdinals'.
General Analysis

Detours

modules.cpp:595 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'pAddrs'.
General Analysis

Detours

uimports.cpp:182 Medium V668 CWE-570 There is no sense in testing the 'pbNew' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

LCDUI

LCDAnimatedBitmap.cpp:31 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_dwElapsedTime, m_dwRate, m_dwLastUpdate, m_dwSubpicWidth.
General Analysis

LCDUI

LCDColorText.h:39 Medium V762 CWE-670 It is possible a virtual function was overridden incorrectly. See second argument of function 'SetBackgroundMode' in derived class 'CLCDColorText' and base class 'CLCDBase'.
General Analysis

LCDUI

LCDConnection.cpp:36 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_lcdConnectCtxEx.
General Analysis

LCDUI

LCDConnection.cpp:231 Medium V519 CWE-563 The 'm_hConnection' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 228, 231.
General Analysis

LCDUI

LCDGfxBase.cpp:159 Medium V519 CWE-563 The 'm_hPrevBitmap' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 157, 159.
General Analysis

LCDUI

LCDGfxBase.cpp:256 Medium V668 CWE-570 There is no sense in testing the 'm_pBitmapInfo' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

LCDUI

LCDGfxMono.cpp:34 Medium V641 CWE-704 The size of the '& m_LCDScreen' buffer is not a multiple of the element size of the type 'lgLcdBitmap'.
General Analysis

LCDUI

LCDOutput.cpp:393 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'pPage'.
General Analysis

LCDUI

LCDPage.cpp:29 Medium V730 CWE-457 It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: m_BackgroundColor.
General Analysis

LCDUI

LCDPopup.cpp:344 Medium V1051 CWE-754 Consider checking for misprints. It's possible that the 'nTextHeightWithMargin' should be checked here.
General Analysis

LCDUI

LCDPopup.h:78 Medium V762 CWE-670 It is possible a virtual function was overridden incorrectly. See first argument of function 'Initialize' in derived class 'CLCDPopup' and base class 'CLCDBase'.
General Analysis

LCDUI

LCDScrollingText.cpp:160 Low V526 CWE-253 The 'wcscmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

LCDUI

LCDScrollingText.cpp:29 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_dwEllapsedTime, m_dwStartDelay, m_dwEndDelay, m_dwSpeed, m_dwLastUpdate, m_nScrollingDistance, ...
General Analysis

LCDUI

LCDStreamingText.cpp:131 Low V526 CWE-253 The 'wcscmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

LCDUI

LCDStreamingText.cpp:262 Low V526 CWE-253 The 'wcscmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

LCDUI

LCDStreamingText.cpp:30 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_dwEllapsedTime, m_dwStartDelay, m_dwSpeed, m_dwStepInPixels, m_dwLastUpdate, m_eState, ...
General Analysis

LCDUI

LCDText.cpp:191 Low V526 CWE-253 The 'wcscmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

lcms2

lcms2.h:177 High V1040 Possible typo in the spelling of a pre-defined macro name. The '_WIN32_' macro is similar to '_WIN32'.
General Analysis

lcms2

lcms2.h:1448 Medium V1071 Consider inspecting the 'cmsWriteTag' function. The return value is not always used. Total calls: 28, discarded results: 2.
General Analysis

lcms2

cmsalpha.c:392 Medium V560 CWE-570 A part of conditional expression is always false: in_n > 5.
General Analysis

lcms2

cmsalpha.c:392 Medium V560 CWE-570 A part of conditional expression is always false: out_n > 5.
General Analysis

lcms2

cmsalpha.c:496 Medium V560 CWE-571 A part of conditional expression is always true: total_chans > 0.
General Analysis

lcms2

cmscam02.c:200 Medium V592 The expression was enclosed by parentheses twice: '((clr.h * d2r + 2.0))'. One pair of parentheses is unnecessary or misprint is present.
General Analysis

lcms2

cmscam02.c:254 Medium V592 The expression was enclosed by parentheses twice: '((clr.h * d2r + 2.0))'. One pair of parentheses is unnecessary or misprint is present.
General Analysis

lcms2

cmscam02.c:182 Low V550 CWE-682 An odd precise comparison: a == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmscam02.c:183 Low V550 CWE-682 An odd precise comparison: b == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmscam02.c:190 Low V550 CWE-682 An odd precise comparison: b == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmscam02.c:413 Low V550 CWE-682 An odd precise comparison: lpMod->D == (- 1). It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmscam02.c:181 Low V624 CWE-547 The constant 3.141592654 is being utilized. The resulting value could be inaccurate. Consider using the M_PI constant from <math.h>.
General Analysis

lcms2

cmscam02.c:198 Low V624 CWE-547 The constant 3.141592654 is being utilized. The resulting value could be inaccurate. Consider using the M_PI constant from <math.h>.
General Analysis

lcms2

cmscam02.c:248 Low V624 CWE-547 The constant 3.141592654 is being utilized. The resulting value could be inaccurate. Consider using the M_PI constant from <math.h>.
General Analysis

lcms2

cmscgats.c:580 Medium V1048 CWE-1164 The 'sgn' variable was assigned the same value.
General Analysis

lcms2

cmscgats.c:659 Medium V1048 CWE-1164 The 'sgn' variable was assigned the same value.
General Analysis

lcms2

cmscgats.c:1925 Medium V560 CWE-571 A part of conditional expression is always true: it8->sy != SEND_DATA.
General Analysis

lcms2

cmscgats.c:1925 Medium V560 CWE-571 A part of conditional expression is always true: it8->sy != SEOF.
General Analysis

lcms2

cmscgats.c:1573 Medium V581 CWE-670 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1570, 1573.
General Analysis

lcms2

cmscgats.c:2380 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'it8'.
General Analysis

lcms2

cmscgats.c:1100 Low V769 CWE-119 The 'it8->Allocator.Block' pointer in the expression could be nullptr. In such case, resulting value of arithmetic operations on this pointer will be senseless and it should not be used.
General Analysis

lcms2

cmscnvrt.c:647 Medium V547 CWE-571 Expression 'Result != NULL' is always true.
General Analysis

lcms2

cmscnvrt.c:834 Medium V547 CWE-571 Expression 'Result != NULL' is always true.
General Analysis

lcms2

cmscnvrt.c:341 Low V522 CWE-690 There might be dereferencing of a potential null pointer '(cmsFloat64Number *) m'.
General Analysis

lcms2

cmscnvrt.c:344 Low V522 CWE-690 There might be dereferencing of a potential null pointer '(cmsFloat64Number *) off'.
General Analysis

lcms2

cmscnvrt.c:263 Low V550 CWE-682 An odd precise comparison: AdaptationState == 1.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmscnvrt.c:280 Low V550 CWE-682 An odd precise comparison: AdaptationState == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmscnvrt.c:395 Low V550 CWE-682 An odd precise comparison: BlackPointIn.X != BlackPointOut.X. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmscnvrt.c:396 Low V550 CWE-682 An odd precise comparison: BlackPointIn.Y != BlackPointOut.Y. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmscnvrt.c:397 Low V550 CWE-682 An odd precise comparison: BlackPointIn.Z != BlackPointOut.Z. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmserr.c:424 Medium V560 CWE-571 A part of conditional expression is always true: ptr != NULL.
General Analysis

lcms2

cmsgamma.c:266 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'p->Table16'.
General Analysis

lcms2

cmsgamma.c:284 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'p->Segments'.
General Analysis

lcms2

cmsgamma.c:294 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'p->Evals'.
General Analysis

lcms2

cmsgamma.c:1022 Low V547 CWE-571 Expression 'y1 < y0' is always true.
General Analysis

lcms2

cmsgamma.c:1038 Low V547 CWE-571 Expression 'y1 < y0' is always true.
General Analysis

lcms2

cmsgamma.c:1094 Low V550 CWE-682 An odd precise comparison: x1 == x2. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsgamma.c:1236 Low V550 CWE-682 An odd precise comparison: z[i] == 0.. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsgmt.c:407 Medium V547 CWE-571 Expression 'hLab' is always true.
General Analysis

lcms2

cmsgmt.c:479 Medium V547 CWE-570 Expression 'bp.nOutputChans >= 16' is always false.
General Analysis

lcms2

cmsgmt.c:264 Low V550 CWE-682 An odd precise comparison: dE2 == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsgmt.c:541 Low V550 CWE-682 An odd precise comparison: Lab->a == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsintrp.c:226 High V568 CWE-131 It's odd that the argument of sizeof() operator is the '(v) + (double) 0' expression.
General Analysis

lcms2

cmsintrp.c:226 High V568 CWE-131 It's odd that the argument of sizeof() operator is the '(v) + (float) 0' expression.
General Analysis

lcms2

cmsintrp.c:403 Low V1003 The macro 'LERP' is a dangerous expression. The parameters 'a', 'l', 'h' must be surrounded by parentheses.
General Analysis

lcms2

cmsintrp.c:536 Low V1003 The macro 'LERP' is a dangerous expression. The parameters 'a', 'l', 'h' must be surrounded by parentheses.
General Analysis

lcms2

cmsintrp.c:1046 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1150 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1151 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1152 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1153 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1154 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1155 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1156 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1157 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1158 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1159 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1160 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:382 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'fx', 'fx', 'fy' in lines 382, 383, 385.
General Analysis

lcms2

cmsintrp.c:441 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'rx', 'rx', 'ry' in lines 441, 442, 444.
General Analysis

lcms2

cmsintrp.c:243 Low V550 CWE-682 An odd precise comparison: val2 == 1.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsintrp.c:311 Low V550 CWE-682 An odd precise comparison: val2 == 1.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsio0.c:128 Medium V547 CWE-571 Expression 'iohandler' is always true.
General Analysis

lcms2

cmsio0.c:307 Medium V547 CWE-571 Expression 'iohandler' is always true.
General Analysis

lcms2

cmsio0.c:1241 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'io->Write(io, Icc->TagSizes[i], Data) == FALSE'.
General Analysis

lcms2

cmslut.c:1193 Medium V656 CWE-665 Variables 'LabTable[1]', 'LabTable[2]' are initialized through the call to the same function. It's probably an error or un-optimized code. Check lines: 1192, 1193.
General Analysis

lcms2

cmslut.c:1202 Low V522 CWE-628 Dereferencing of the null pointer 'mpe' might take place. The potential null pointer is passed into 'cmsStageFree' function. Inspect the first argument. Check lines: 1202, 1595.
General Analysis

lcms2

cmslut.c:986 Low V656 CWE-665 Variables 'LabTable[0]', 'LabTable[1]' are initialized through the call to the same function. It's probably an error or un-optimized code. Check lines: 985, 986.
General Analysis

lcms2

cmsmd5.c:234 High V512 CWE-682 A call of the 'memset' function will lead to underflow of the buffer 'ctx->in'.
General Analysis

lcms2

cmsmd5.c:58 Low V1003 The macro 'F1' is a dangerous expression. The parameters 'x', 'y', 'z' must be surrounded by parentheses.
General Analysis

lcms2

cmsmd5.c:60 Low V1003 The macro 'F3' is a dangerous expression. The parameters 'x', 'y', 'z' must be surrounded by parentheses.
General Analysis

lcms2

cmsmd5.c:61 Low V1003 The macro 'F4' is a dangerous expression. The parameters 'x', 'y', 'z' must be surrounded by parentheses.
General Analysis

lcms2

cmsmd5.c:63 Low V1003 The macro 'STEP' is a dangerous expression. The parameters 'w', 'data', 's' must be surrounded by parentheses.
General Analysis

lcms2

cmsnamed.c:808 High V595 CWE-476 The 'pseq->seq' pointer was utilized before it was verified against nullptr. Check lines: 808, 811.
General Analysis

lcms2

cmsnamed.c:309 Medium V547 CWE-571 Expression 'NewMlu != NULL' is always true.
General Analysis

lcms2

cmsopt.c:1434 Medium V547 CWE-571 Expression 'GammaTables != NULL' is always true.
General Analysis

lcms2

cmsopt.c:1494 Medium V547 CWE-571 Expression 'Dest != NULL' is always true.
General Analysis

lcms2

cmsopt.c:496 Low V550 CWE-682 An odd precise comparison: (px - x0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:497 Low V550 CWE-682 An odd precise comparison: (py - y0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:498 Low V550 CWE-682 An odd precise comparison: (pz - z0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:499 Low V550 CWE-682 An odd precise comparison: (pw - w0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:517 Low V550 CWE-682 An odd precise comparison: (px - x0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:518 Low V550 CWE-682 An odd precise comparison: (py - y0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:519 Low V550 CWE-682 An odd precise comparison: (pz - z0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:532 Low V550 CWE-682 An odd precise comparison: (px - x0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmspack.c:48 Medium V547 CWE-570 Expression 'a > 0xffff' is always false.
General Analysis

lcms2

cmspcs.c:723 Medium V1009 CWE-665 Check the array initialization. Only the first element is initialized explicitly. The rest elements are initialized with zeros.
General Analysis

lcms2

cmspcs.c:220 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'L2float2', 'ab2float2', 'ab2float2' in lines 220, 221, 222.
General Analysis

lcms2

cmspcs.c:228 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'L2float4', 'ab2float4', 'ab2float4' in lines 228, 229, 230.
General Analysis

lcms2

cmspcs.c:258 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Clamp_L_doubleV2', 'Clamp_ab_doubleV2', 'Clamp_ab_doubleV2' in lines 258, 259, 260.
General Analysis

lcms2

cmspcs.c:262 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'L2Fix2', 'ab2Fix2', 'ab2Fix2' in lines 262, 263, 264.
General Analysis

lcms2

cmspcs.c:302 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Clamp_L_doubleV4', 'Clamp_ab_doubleV4', 'Clamp_ab_doubleV4' in lines 302, 303, 304.
General Analysis

lcms2

cmspcs.c:306 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'L2Fix4', 'ab2Fix4', 'ab2Fix4' in lines 306, 307, 308.
General Analysis

lcms2

cmspcs.c:325 Low V550 CWE-682 An odd precise comparison: a == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmspcs.c:325 Low V550 CWE-682 An odd precise comparison: b == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmspcs.c:553 Low V550 CWE-682 An odd precise comparison: Lab1->L == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmspcs.c:553 Low V550 CWE-682 An odd precise comparison: Lab2->L == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsplugin.c:804 Medium V580 CWE-843 An odd explicit type casting: (void * *) & _cmsContextPoolHeadMutex. Consider verifying it.
General Analysis

lcms2

cmsplugin.c:259 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

lcms2

cmsplugin.c:272 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

lcms2

cmsplugin.c:299 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

lcms2

cmsplugin.c:314 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

lcms2

cmsplugin.c:327 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

lcms2

cmsplugin.c:340 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

lcms2

cmsps2.c:848 Medium V1020 CWE-772 The function exited without calling the 'EmitSafeGuardEnd' function. Check lines: 848, 815.
General Analysis

lcms2

cmssamp.c:107 High V595 CWE-476 The 'BlackPoint' pointer was utilized before it was verified against nullptr. Check lines: 107, 136.
General Analysis

lcms2

cmssamp.c:157 High V595 CWE-476 The 'BlackPoint' pointer was utilized before it was verified against nullptr. Check lines: 157, 179.
General Analysis

lcms2

cmssamp.c:468 Low V1048 CWE-1164 The 'NearlyStraightMidrange' variable was assigned the same value.
General Analysis

lcms2

cmssamp.c:224 Low V624 CWE-547 There is probably a misprint in '0.00287' constant. The number looks similar to the Chaitin's constant constant (0.0078749969978123844).
General Analysis

lcms2

cmssamp.c:391 Low V624 CWE-547 There is probably a misprint in '0.00287' constant. The number looks similar to the Chaitin's constant constant (0.0078749969978123844).
General Analysis

lcms2

cmssm.c:106 Low V550 CWE-682 An odd precise comparison: x == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmssm.c:106 Low V550 CWE-682 An odd precise comparison: y == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmssm.c:130 Low V550 CWE-682 An odd precise comparison: sp->r == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmstypes.c:3979 High V1051 CWE-754 Consider checking for misprints. It's possible that the 'Segments[i].Type' should be checked here.
General Analysis

lcms2

cmstypes.c:270 Medium V1051 CWE-754 Consider checking for misprints. It's possible that the 'CurrentPos' should be used inside 'io->Seek' function.
General Analysis

lcms2

cmstypes.c:4572 Medium V1051 CWE-754 Consider checking for misprints. It's possible that the 'CurrentPos' should be used inside 'io->Seek' function.
General Analysis

lcms2

cmstypes.c:214 Medium V547 CWE-571 Expression 'ElementOffsets != NULL' is always true.
General Analysis

lcms2

cmstypes.c:215 Medium V547 CWE-571 Expression 'ElementSizes != NULL' is always true.
General Analysis

lcms2

cmstypes.c:279 Medium V547 CWE-571 Expression 'ElementOffsets != NULL' is always true.
General Analysis

lcms2

cmstypes.c:280 Medium V547 CWE-571 Expression 'ElementSizes != NULL' is always true.
General Analysis

lcms2

cmstypes.c:736 Medium V547 CWE-571 Expression 'mlu != NULL' is always true.
General Analysis

lcms2

cmstypes.c:954 Medium V547 CWE-571 Expression 'mlu' is always true.
General Analysis

lcms2

cmstypes.c:1517 Medium V547 CWE-571 Expression 'mlu' is always true.
General Analysis

lcms2

cmstypes.c:3782 Medium V547 CWE-571 Expression 'sc != NULL' is always true.
General Analysis

lcms2

cmstypes.c:3856 Medium V547 CWE-571 Expression 'vc != NULL' is always true.
General Analysis

lcms2

cmstypes.c:4027 Medium V547 CWE-571 Expression 'Segments' is always true.
General Analysis

lcms2

cmstypes.c:4491 Medium V547 CWE-571 Expression 'NewLUT != NULL' is always true.
General Analysis

lcms2

cmstypes.c:4581 Medium V547 CWE-571 Expression 'ElementOffsets != NULL' is always true.
General Analysis

lcms2

cmstypes.c:4582 Medium V547 CWE-571 Expression 'ElementSizes != NULL' is always true.
General Analysis

lcms2

cmstypes.c:1039 Medium V555 CWE-191 The expression 'len_aligned - len_tag_requirement > 0' will work as 'len_aligned != len_tag_requirement'.
General Analysis

lcms2

cmstypes.c:5317 Low V1016 CWE-681 The value '0x9478ee00' is out of range of enum values. This causes unspecified or undefined behavior.
General Analysis

lcms2

cmstypes.c:5441 Low V1016 CWE-681 The value '0x9478ee00' is out of range of enum values. This causes unspecified or undefined behavior.
General Analysis

lcms2

cmstypes.c:5442 Low V1016 CWE-681 The value '0x9478ee00' is out of range of enum values. This causes unspecified or undefined behavior.
General Analysis

lcms2

cmstypes.c:5443 Low V1016 CWE-681 The value '0x9478ee00' is out of range of enum values. This causes unspecified or undefined behavior.
General Analysis

lcms2

cmstypes.c:639 Low V524 It is odd that the body of 'Type_U16Fixed16_Dup' function is fully equivalent to the body of 'Type_S15Fixed16_Dup' function.
General Analysis

lcms2

cmstypes.c:1064 Low V524 It is odd that the body of 'Type_Text_Description_Free' function is fully equivalent to the body of 'Type_Text_Free' function.
General Analysis

lcms2

cmstypes.c:1280 Low V524 It is odd that the body of 'Type_ParametricCurve_Dup' function is fully equivalent to the body of 'Type_Curve_Dup' function.
General Analysis

lcms2

cmstypes.c:1289 Low V524 It is odd that the body of 'Type_ParametricCurve_Free' function is fully equivalent to the body of 'Type_Curve_Free' function.
General Analysis

lcms2

cmstypes.c:3197 Low V524 It is odd that the body of 'Type_NamedColor_Dup' function is fully equivalent to the body of 'Type_ColorantTable_Dup' function.
General Analysis

lcms2

cmstypes.c:3209 Low V524 It is odd that the body of 'Type_NamedColor_Free' function is fully equivalent to the body of 'Type_ColorantTable_Free' function.
General Analysis

lcms2

cmstypes.c:3484 Low V524 It is odd that the body of 'Type_ProfileSequenceId_Dup' function is fully equivalent to the body of 'Type_ProfileSequenceDesc_Dup' function.
General Analysis

lcms2

cmstypes.c:3493 Low V524 It is odd that the body of 'Type_ProfileSequenceId_Free' function is fully equivalent to the body of 'Type_ProfileSequenceDesc_Free' function.
General Analysis

lcms2

cmstypes.c:3737 Low V524 It is odd that the body of 'Type_CrdInfo_Free' function is fully equivalent to the body of 'Type_MLU_Free' function.
General Analysis

lcms2

cmstypes.c:4797 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '_cmsWriteUInt32Number', '_cmsWriteUInt16Number', '_cmsWriteUInt16Number', '_cmsWriteUInt16Number' in lines 4797, 4798, 4799, 4800.
General Analysis

lcms2

cmsvirt.c:91 Medium V547 CWE-571 Expression 'Seq' is always true.
General Analysis

lcms2

cmsvirt.c:212 Medium V547 CWE-571 Expression 'hICC' is always true.
General Analysis

lcms2

cmsvirt.c:273 Medium V547 CWE-571 Expression 'hICC' is always true.
General Analysis

lcms2

cmsvirt.c:333 Medium V547 CWE-571 Expression 'hICC' is always true.
General Analysis

lcms2

cmsvirt.c:461 Medium V547 CWE-571 Expression 'hICC != NULL' is always true.
General Analysis

lcms2

cmsvirt.c:507 Medium V547 CWE-571 Expression 'hProfile != NULL' is always true.
General Analysis

lcms2

cmsvirt.c:554 Medium V547 CWE-571 Expression 'hProfile != NULL' is always true.
General Analysis

lcms2

cmsvirt.c:600 Medium V547 CWE-571 Expression 'hProfile != NULL' is always true.
General Analysis

lcms2

cmsvirt.c:880 Medium V547 CWE-571 Expression 'hProfile != NULL' is always true.
General Analysis

lcms2

cmsvirt.c:990 Medium V547 CWE-571 Expression 'hICC != NULL' is always true.
General Analysis

lcms2

lcms2_internal.h:308 Low V524 It is odd that the body of '_cmsEnterCriticalSectionPrimitive' function is fully equivalent to the body of '_cmsLockPrimitive' function.
General Analysis

lcms2

lcms2_internal.h:314 Low V524 It is odd that the body of '_cmsLeaveCriticalSectionPrimitive' function is fully equivalent to the body of '_cmsUnlockPrimitive' function.
General Analysis

libbs2b

bs2b.c:187 Low V1003 The macro 'lo_filter' is a dangerous expression. The parameters 'in', 'out_1' must be surrounded by parentheses.
General Analysis

libbs2b

bs2b.c:191 Low V1003 The macro 'hi_filter' is a dangerous expression. The parameters 'in', 'in_1', 'out_1' must be surrounded by parentheses.
General Analysis

libbs2b

bs2b.c:1053 Low V1027 CWE-704 Pointer to an object of the 'bs2b_int24_t' class is cast to unrelated 'bs2b_uint24_t' class.
General Analysis

libbs2b

bs2b.c:1054 Low V1027 CWE-704 Pointer to an object of the 'bs2b_int24_t' class is cast to unrelated 'bs2b_uint24_t' class.
General Analysis

libbs2b

bs2b.c:1072 Low V1027 CWE-704 Pointer to an object of the 'bs2b_int24_t' class is cast to unrelated 'bs2b_uint24_t' class.
General Analysis

libbs2b

bs2b.c:1073 Low V1027 CWE-704 Pointer to an object of the 'bs2b_int24_t' class is cast to unrelated 'bs2b_uint24_t' class.
General Analysis

libbs2b

bs2b.c:393 Low V524 It is odd that the body of 'bs2b_cross_feed_dle' function is fully equivalent to the body of 'bs2b_cross_feed_d' function.
General Analysis

libbs2b

bs2b.c:486 Low V524 It is odd that the body of 'bs2b_cross_feed_fle' function is fully equivalent to the body of 'bs2b_cross_feed_f' function.
General Analysis

libbs2b

bs2b.c:660 Low V524 It is odd that the body of 'bs2b_cross_feed_s32le' function is fully equivalent to the body of 'bs2b_cross_feed_s32' function.
General Analysis

libbs2b

bs2b.c:697 Low V524 It is odd that the body of 'bs2b_cross_feed_u32le' function is fully equivalent to the body of 'bs2b_cross_feed_u32' function.
General Analysis

libbs2b

bs2b.c:862 Low V524 It is odd that the body of 'bs2b_cross_feed_s16le' function is fully equivalent to the body of 'bs2b_cross_feed_s16' function.
General Analysis

libbs2b

bs2b.c:899 Low V524 It is odd that the body of 'bs2b_cross_feed_u16le' function is fully equivalent to the body of 'bs2b_cross_feed_u16' function.
General Analysis

libbs2b

bs2b.c:1118 Low V524 It is odd that the body of 'bs2b_cross_feed_s24le' function is fully equivalent to the body of 'bs2b_cross_feed_s24' function.
General Analysis

libbs2b

bs2b.c:1155 Low V524 It is odd that the body of 'bs2b_cross_feed_u24le' function is fully equivalent to the body of 'bs2b_cross_feed_u24' function.
General Analysis

libbs2b

bs2b.h:64 Low V1003 The macro 'bs2b_level_delay' is a dangerous expression. The parameter 'fcut' must be surrounded by parentheses.
General Analysis

libflac

alloc.h:212 High V575 CWE-628 The 'realloc' function processes '0' elements. Inspect the second argument.
General Analysis

libflac

bitreader.c:784 Low V547 CWE-571 Expression 'parameter > 0' is always true.
General Analysis

libflac

cpu.c:293 Medium V785 CWE-691 Constant expression in switch statement.
General Analysis

libflac

fixed_intrin_sse2.c:207 Low V537 CWE-682 Consider reviewing the correctness of 'err1' item's usage.
General Analysis

libflac

fixed_intrin_sse2.c:86 Low V761 Three identical blocks of text were found.
General Analysis

libflac

fixed_intrin_sse2.c:183 Low V761 Three identical blocks of text were found.
General Analysis

libflac

fixed_intrin_ssse3.c:195 Low V537 CWE-682 Consider reviewing the correctness of 'err1' item's usage.
General Analysis

libflac

fixed_intrin_ssse3.c:86 Low V761 Three identical blocks of text were found.
General Analysis

libflac

fixed_intrin_ssse3.c:177 Low V761 Three identical blocks of text were found.
General Analysis

libflac

lpc.c:1300 Medium V665 Possibly, the usage of '#pragma warning(default: X)' is incorrect in this context. The '#pragma warning(push/pop)' should be used instead. Check lines: 264, 1300.
General Analysis

libflac

lpc.c:130 Low V550 CWE-682 An odd precise comparison: autoc[0] != 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libflac

lpc.c:159 Low V550 CWE-682 An odd precise comparison: err == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libflac

lpc_intrin_avx2.c:80 Medium V1032 CWE-843 The pointer 'data' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_avx2.c:93 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_avx2.c:435 Medium V1032 CWE-843 The pointer 'data' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_avx2.c:448 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_avx2.c:768 Medium V1032 CWE-843 The pointer 'pack_arr' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_avx2.c:794 Medium V1032 CWE-843 The pointer 'data' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_avx2.c:807 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_sse.c:277 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'xmm0', 'xmm2', 'xmm0' in lines 277, 278, 279.
General Analysis

libflac

lpc_intrin_sse2.c:83 Medium V1032 CWE-843 The pointer 'data' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_sse2.c:96 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_sse2.c:420 Medium V1032 CWE-843 The pointer 'qlp_coeff' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_sse2.c:438 Medium V1032 CWE-843 The pointer 'data' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_sse41.c:1167 Medium V1032 CWE-843 The pointer 'data' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_sse41.c:1180 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

md5.c:497 Medium V547 CWE-570 Expression is always false.
General Analysis

libflac

md5.c:41 Low V1003 The macro 'F1' is a dangerous expression. The parameters 'x', 'y', 'z' must be surrounded by parentheses.
General Analysis

libflac

md5.c:43 Low V1003 The macro 'F3' is a dangerous expression. The parameters 'x', 'y', 'z' must be surrounded by parentheses.
General Analysis

libflac

md5.c:44 Low V1003 The macro 'F4' is a dangerous expression. The parameters 'x', 'y', 'z' must be surrounded by parentheses.
General Analysis

libflac

md5.c:47 Low V1003 The macro 'MD5STEP' is a dangerous expression. The parameters 'w', 'x', 'in', 's' must be surrounded by parentheses.
General Analysis

libflac

md5.c:285 Low V1003 The macro 'BYTES_CHANNEL_SELECTOR' is a dangerous expression. The parameters 'bytes', 'channels' must be surrounded by parentheses.
General Analysis

libflac

metadata_iterators.c:629 High V595 CWE-476 The 'iterator' pointer was utilized before it was verified against nullptr. Check lines: 629, 631.
General Analysis

libflac

metadata_iterators.c:658 High V595 CWE-476 The 'iterator' pointer was utilized before it was verified against nullptr. Check lines: 658, 661.
General Analysis

libflac

metadata_iterators.c:759 High V595 CWE-476 The 'iterator' pointer was utilized before it was verified against nullptr. Check lines: 759, 762.
General Analysis

libflac

metadata_iterators.c:3431 High V595 CWE-476 The 'stats' pointer was utilized before it was verified against nullptr. Check lines: 3431, 3436.
General Analysis

libflac

metadata_iterators.c:183 Medium V560 CWE-570 A part of conditional expression is always false: cd.got_error.
General Analysis

libflac

metadata_iterators.c:496 Medium V560 CWE-570 A part of conditional expression is always false: 0 != tempfile_path_prefix.
General Analysis

libflac

metadata_iterators.c:993 Low V1004 CWE-476 The 'chain->tail' pointer was used unsafely after it was verified against nullptr. Check lines: 986, 993.
General Analysis

libflac

metadata_iterators.c:2257 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'block->points'.
General Analysis

libflac

metadata_iterators.c:2407 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'track->indices'.
General Analysis

libflac

metadata_iterators.c:2653 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '3', '3' in lines 2653, 2654, 2655.
General Analysis

libflac

metadata_iterators.c:2335 Low V769 CWE-119 The 'block->comments' pointer in the 'block->comments + i' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libflac

metadata_iterators.c:2463 Low V769 CWE-119 The 'block->tracks' pointer in the 'block->tracks + i' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libflac

metadata_object.c:1201 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'object->data.vorbis_comment.comments' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libflac

metadata_object.c:960 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'object->data.seek_table.points'.
General Analysis

libflac

metadata_object.c:838 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

libflac

metadata_object.c:840 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

libflac

metadata_object.c:852 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

metadata_object.c:1210 Low V769 CWE-119 The 'object->data.vorbis_comment.comments' pointer in the expression could be nullptr. In such case, resulting value of arithmetic operations on this pointer will be senseless and it should not be used.
General Analysis

libflac

metadata_object.c:1361 Low V769 CWE-119 The 'eq' pointer in the 'eq - entry.entry' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libflac

metadata_object.c:1510 Low V769 CWE-119 The 'track->indices' pointer in the 'track->indices + track->num_indices' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libflac

metadata_object.c:1605 Low V769 CWE-119 The 'object->data.cue_sheet.tracks' pointer in the expression could be nullptr. In such case, resulting value of arithmetic operations on this pointer will be senseless and it should not be used.
General Analysis

libflac

bitwise.c:138 High V610 CWE-758 Undefined behavior. Check the shift operator '<<'. The right operand ('(32 - bits)' = [0..32]) is greater than or equal to the length in bits of the promoted left operand.
General Analysis

libflac

bitwise.c:42 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'b->buffer'. Check lines: 42, 41.
General Analysis

libflac

framing.c:594 High V595 CWE-476 The 'oy->data' pointer was utilized before it was verified against nullptr. Check lines: 594, 603.
General Analysis

libflac

framing.c:648 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

framing.c:679 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

framing.c:798 Low V793 CWE-691 It is odd that the result of the 'os->lacing_fill - lr' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

libflac

ogg_decoder_aspect.c:173 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

ogg_encoder_aspect.c:154 Medium V512 CWE-682 A call of the 'memcpy' function will lead to underflow of the buffer 'b'.
General Analysis

libflac

ogg_encoder_aspect.c:213 Medium V560 CWE-571 A part of conditional expression is always true: samples == 0.
General Analysis

libflac

ogg_helper.c:131 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

ogg_helper.c:133 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

ogg_helper.c:171 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

stream_decoder.c:1523 High V595 CWE-476 The 'block.data.vorbis_comment.comments' pointer was utilized before it was verified against nullptr. Check lines: 1523, 1524.
General Analysis

libflac

stream_decoder.c:1531 High V595 CWE-476 The 'block.data.cue_sheet.tracks' pointer was utilized before it was verified against nullptr. Check lines: 1531, 1532.
General Analysis

libflac

stream_decoder.c:2893 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2893, 2899
General Analysis

libflac

stream_decoder.c:3198 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'upper_bound_sample' should be used inside 'FLAC__stream_decoder_get_decode_position' function.
General Analysis

libflac

stream_decoder.c:3206 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'lower_bound_sample' should be used inside 'FLAC__stream_decoder_get_decode_position' function.
General Analysis

libflac

stream_decoder.c:3327 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'left_sample' should be checked here.
General Analysis

libflac

stream_decoder.c:3336 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'right_sample' should be checked here.
General Analysis

libflac

stream_decoder.c:681 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

stream_decoder.c:1545 Low V796 CWE-484 It is possible that 'break' statement is missing in switch statement.
General Analysis

libflac

stream_encoder.c:2178 High V595 CWE-476 The 'encoder' pointer was utilized before it was verified against nullptr. Check lines: 2178, 2180.
General Analysis

libflac

stream_encoder.c:2235 High V595 CWE-476 The 'encoder' pointer was utilized before it was verified against nullptr. Check lines: 2235, 2237.
General Analysis

libflac

stream_encoder.c:2987 Medium V512 CWE-682 A call of the 'memcpy' function will lead to underflow of the buffer 'b'.
General Analysis

libflac

stream_encoder.c:3013 Medium V512 CWE-682 A call of the 'memcpy' function will lead to underflow of the buffer 'b'.
General Analysis

libflac

stream_encoder.c:2869 Medium V519 CWE-563 The 'xx' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 2868, 2869.
General Analysis

libflac

stream_encoder.c:3056 Medium V519 CWE-563 The 'xx' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 3055, 3056.
General Analysis

libflac

stream_encoder.c:3457 Medium V547 CWE-571 Expression '!_best_subframe' is always true.
General Analysis

libflac

stream_encoder.c:3525 Medium V547 CWE-571 Expression 'max_lpc_order > 0' is always true.
General Analysis

libflac

stream_encoder.c:805 Medium V560 CWE-571 A part of conditional expression is always true.
General Analysis

libflac

stream_encoder.c:2476 Medium V560 CWE-571 A part of conditional expression is always true: ok.
General Analysis

libflac

stream_encoder.c:2487 Medium V560 CWE-571 A part of conditional expression is always true: ok.
General Analysis

libflac

stream_encoder.c:2500 Medium V560 CWE-571 A part of conditional expression is always true: ok.
General Analysis

libflac

stream_encoder.c:2506 Medium V560 CWE-571 A part of conditional expression is always true: ok.
General Analysis

libflac

stream_encoder.c:2511 Medium V560 CWE-571 A part of conditional expression is always true: ok.
General Analysis

libflac

stream_encoder.c:2522 Medium V560 CWE-571 A part of conditional expression is always true.
General Analysis

libflac

stream_encoder.c:2523 Medium V560 CWE-571 A part of conditional expression is always true: ok.
General Analysis

libflac

stream_encoder.c:4088 Medium V612 CWE-670 An unconditional 'break' within a loop.
General Analysis

libflac

stream_encoder.c:777 Low V1004 CWE-476 The 'encoder->protected_->metadata' pointer was used unsafely after it was verified against nullptr. Check lines: 745, 777.
General Analysis

libflac

stream_encoder.c:4240 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'partition_samples' should be checked here.
General Analysis

libflac

stream_encoder.c:707 Low V547 CWE-571 Expression is always true.
General Analysis

libflac

stream_encoder.c:3459 Low V547 CWE-571 The 'A = !_best_subframe' expression is equivalent to the 'A = 1' expression.
General Analysis

libflac

stream_encoder.c:3441 Low V550 CWE-682 An odd precise comparison: fixed_residual_bits_per_sample[1] == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libflac

stream_encoder.c:3531 Low V550 CWE-682 An odd precise comparison: autoc[0] != 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libflac

stream_encoder.c:1934 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the second argument.
General Analysis

libflac

stream_encoder_intrin_avx2.c:70 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

stream_encoder_intrin_sse2.c:91 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

stream_encoder_intrin_ssse3.c:80 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libpng

png.c:2373 High V547 CWE-571 Expression 'crc == 0' is always true.
General Analysis

libpng

png.c:409 High V597 CWE-14 The compiler could delete the 'memset' function call, which is used to flush 'info_ptr' object. The RtlSecureZeroMemory() function should be used to erase the private data.
General Analysis

libpng

png.c:762 High V614 CWE-457 Uninitialized buffer 'number_buf' used. Consider checking the first actual argument of the 'png_format_number' function.
General Analysis

libpng

png.c:1849 High V614 CWE-457 Uninitialized buffer 'number' used. Consider checking the first actual argument of the 'png_format_number' function.
General Analysis

libpng

png.c:2771 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2771, 2793
General Analysis

libpng

png.c:105 Medium V547 CWE-570 Expression 'items >= (~(png_alloc_size_t) 0) / size' is always false.
General Analysis

libpng

png.c:3251 Medium V547 CWE-571 Expression 'num <= 0x80000000' is always true.
General Analysis

libpng

png.c:406 Low V1004 CWE-476 The 'info_ptr_ptr' pointer was used unsafely after it was verified against nullptr. Check lines: 395, 406.
General Analysis

libpng

png.c:4556 Low V506 CWE-562 Pointer to local variable 'c' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis

libpng

png.c:3085 Low V550 CWE-682 An odd precise comparison: d == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libpng

pngerror.c:251 High V568 CWE-131 It's odd that the argument of sizeof() operator is the 'p[number - 1]' expression.
General Analysis

libpng

pngerror.c:259 High V614 CWE-457 Uninitialized buffer 'buffer' used. Consider checking the first actual argument of the 'png_format_number' function.
General Analysis

libpng

pngerror.c:275 High V614 CWE-457 Uninitialized buffer 'buffer' used. Consider checking the first actual argument of the 'png_format_number' function.
General Analysis

libpng

pngerror.c:950 Medium V507 CWE-562 Pointer to local array 'safe_jmpbuf' is stored outside the scope of this array. Such a pointer will become invalid.
General Analysis

libpng

pngerror.c:689 Low V506 CWE-562 Pointer to local variable 'free_jmp_buf' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis

libpng

pngmem.c:33 High V597 CWE-14 The compiler could delete the 'memset' function call, which is used to flush 'png_ptr' object. The RtlSecureZeroMemory() function should be used to erase the private data.
General Analysis

libpng

pngmem.c:83 Medium V560 CWE-571 A part of conditional expression is always true: size <= ((size_t)(- 1)).
General Analysis

libpng

pngmem.c:154 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the second argument.
General Analysis

libpng

pngpriv.h:1732 Medium V1071 Consider inspecting the 'png_safecat' function. The return value is not always used. Total calls: 18, discarded results: 1.
General Analysis

libpng

pngpriv.h:1748 Low V1003 The macro 'PNG_FORMAT_NUMBER' is a dangerous expression. The parameter 'buffer' must be surrounded by parentheses.
General Analysis

libpng

pngread.c:1031 Medium V1004 CWE-476 The 'png_ptr_ptr' pointer was used unsafely after it was verified against nullptr. Check lines: 1018, 1031.
General Analysis

libpng

pngread.c:2905 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2905, 2921
General Analysis

libpng

pngread.c:2477 Medium V557 CWE-125 Array overrun is possible. The value of 'back_b' index could reach 65535.
General Analysis

libpng

pngread.c:2598 Medium V557 CWE-125 Array overrun is possible. The value of 'gray' index could reach 65535.
General Analysis

libpng

pngread.c:2857 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'trans'.
General Analysis

libpng

pngrtran.c:4351 High V1028 CWE-190 Possible overflow. Consider casting operands of the 'row_width * 3' operator to the 'size_t' type, not the result.
General Analysis

libpng

pngrtran.c:1806 Medium V1048 CWE-1164 The 'png_ptr->background.green' variable was assigned the same value.
General Analysis

libpng

pngrtran.c:1806 Medium V1048 CWE-1164 The 'png_ptr->background.red' variable was assigned the same value.
General Analysis

libpng

pngrtran.c:1807 Medium V1048 CWE-1164 The 'png_ptr->background.blue' variable was assigned the same value.
General Analysis

libpng

pngrtran.c:4341 Medium V1048 CWE-1164 The 'row_info->bit_depth' variable was assigned the same value.
General Analysis

libpng

pngrtran.c:4368 Medium V1048 CWE-1164 The 'row_info->bit_depth' variable was assigned the same value.
General Analysis

libpng

pngrtran.c:3968 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'gamma_table'.
General Analysis

libpng

pngrtran.c:3984 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'gamma_16_table'.
General Analysis

libpng

pngrutil.c:548 High V547 CWE-571 Expression '(sizeof local_buffer) < avail' is always true.
General Analysis

libpng

pngrutil.c:1059 High V595 CWE-476 The 'info_ptr' pointer was utilized before it was verified against nullptr. Check lines: 1059, 1072.
General Analysis

libpng

pngrutil.c:547 Medium V507 CWE-562 Pointer to local array 'local_buffer' is stored outside the scope of this array. Such a pointer will become invalid.
General Analysis

libpng

pngrutil.c:4211 Medium V507 CWE-562 Pointer to local array 'tmpbuf' is stored outside the scope of this array. Such a pointer will become invalid.
General Analysis

libpng

pngrutil.c:713 Medium V547 CWE-570 Expression 'ret == 0' is always false.
General Analysis

libpng

pngrutil.c:745 Medium V547 CWE-570 Expression 'ret == 0' is always false.
General Analysis

libpng

pngrutil.c:1739 Medium V547 CWE-570 Expression 'dl > max_dl' is always false.
General Analysis

libpng

pngrutil.c:1913 Medium V614 CWE-457 Potentially uninitialized buffer 'readbuf' used. Consider checking the third actual argument of the 'png_set_tRNS' function.
General Analysis

libpng

pngrutil.c:2889 Low V1048 CWE-1164 The 'png_ptr->unknown_chunk.data' variable was assigned the same value.
General Analysis

libpng

pngrutil.c:3172 Low V1048 CWE-1164 The 'idat_limit' variable was assigned the same value.
General Analysis

libpng

pngrutil.c:1233 Low V575 CWE-628 The potential null pointer is passed into 'png_set_sBIT' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:1913 Low V575 CWE-628 The potential null pointer is passed into 'png_set_tRNS' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2032 Low V575 CWE-628 The potential null pointer is passed into 'png_set_bKGD' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2145 Low V575 CWE-628 The potential null pointer is passed into 'png_set_hIST' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2191 Low V575 CWE-628 The potential null pointer is passed into 'png_set_pHYs' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2237 Low V575 CWE-628 The potential null pointer is passed into 'png_set_oFFs' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2363 Low V575 CWE-628 The potential null pointer is passed into 'png_set_pCAL' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2458 Low V575 CWE-628 The potential null pointer is passed into 'png_set_sCAL_s' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2505 Low V575 CWE-628 The potential null pointer is passed into 'png_set_tIME' function. Inspect the second argument.
General Analysis

libpng

pngset.c:1597 Medium V547 CWE-570 Expression 'size > ((uInt) - 1)' is always false.
General Analysis

libpng

pngset.c:940 Low V1004 CWE-628 The 'text_ptr[i].text' pointer was used unsafely after it was verified against nullptr. Check lines: 884, 940.
General Analysis

libpng

pngset.c:1465 Low V1004 CWE-628 The 'png_ptr->chunk_list' pointer was used unsafely after it was verified against nullptr. Check lines: 1443, 1465.
General Analysis

libpng

pngset.c:349 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'params'.
General Analysis

libpng

pngset.c:626 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the second argument.
General Analysis

libpng

pngwrite.c:760 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '0x07', '0x07', '0x03' in lines 760, 776, 792.
General Analysis

libpng

pngwutil.c:1202 High V1028 CWE-190 Possible overflow. Consider casting operands of the 'name_len + 1' operator to the 'size_t' type, not the result.
General Analysis

libpng

pngwutil.c:538 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'png_ptr->zstream.avail_in' should be checked here.
General Analysis

libpng

pngwutil.c:1549 Low V658 CWE-190 A value is being subtracted from the unsigned variable. This can result in an overflow. In such a case, the '>' comparison operation can potentially behave unexpectedly.
General Analysis

libpng

pngwutil.c:1676 Low V658 CWE-190 A value is being subtracted from the unsigned variable. This can result in an overflow. In such a case, the '>' comparison operation can potentially behave unexpectedly.
General Analysis

libpng

pngwutil.c:1681 Low V658 CWE-190 A value is being subtracted from the unsigned variable. This can result in an overflow. In such a case, the '>' comparison operation can potentially behave unexpectedly.
General Analysis

libpng

pngwutil.c:1696 Low V658 CWE-190 A value is being subtracted from the unsigned variable. This can result in an overflow. In such a case, the '>' comparison operation can potentially behave unexpectedly.
General Analysis

libpng

zconf.h:228 Low V1059 Macro name overrides the 'const' keyword. This may lead to undefined behavior.
General Analysis

libsoxr

cr-core.c:61 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'output'.
General Analysis

libsoxr

cr-core.c:51 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

cr.c:424 High V564 CWE-480 The '&' operator is applied to bool type value. You've probably forgotten to include parentheses or intended to use the '&&' operator.
General Analysis

libsoxr

cr.c:413 Medium V547 CWE-571 Expression '!rational' is always true.
General Analysis

libsoxr

cr.c:246 Medium V636 CWE-682 The 'p->at.fix.ms.parts.ms / p->L' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;.
General Analysis

libsoxr

cr.c:196 Low V550 CWE-682 An odd precise comparison: Fn == L. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:196 Low V550 CWE-682 An odd precise comparison: phase_response == 50. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:199 Low V550 CWE-682 An odd precise comparison: phase_response != 50. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:291 Low V550 CWE-682 An odd precise comparison: bits == 16. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:292 Low V550 CWE-682 An odd precise comparison: Fp0 == (1385 / 2048.). It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:294 Low V550 CWE-682 An odd precise comparison: Fs0 != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:294 Low V550 CWE-682 An odd precise comparison: phase_response != 50. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:304 Low V550 CWE-682 An odd precise comparison: bits != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:313 Low V550 CWE-682 An odd precise comparison: bits != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:322 Low V550 CWE-682 An odd precise comparison: (frac = arbM - (int) arbM) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:324 Low V550 CWE-682 An odd precise comparison: frac == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:333 Low V550 CWE-682 An odd precise comparison: d != 5. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:342 Low V550 CWE-682 An odd precise comparison: arbM * arbL != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:343 Low V550 CWE-682 An odd precise comparison: multiplier != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:360 Low V550 CWE-682 An odd precise comparison: arbM * arbL != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:390 Low V550 CWE-682 An odd precise comparison: arbM * arbL != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:390 Low V550 CWE-682 An odd precise comparison: bits == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:398 Low V550 CWE-682 An odd precise comparison: arbM * arbL != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:421 Low V550 CWE-682 An odd precise comparison: f->interp[0].scalar == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:89 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the first argument.
General Analysis

libsoxr

cr.c:89 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the second argument.
General Analysis

libsoxr

cr.c:148 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the first argument.
General Analysis

libsoxr

cr.c:489 Low V575 CWE-628 The potential null pointer is passed into 'memset' function. Inspect the first argument.
General Analysis

libsoxr

cr.c:506 Low V575 CWE-628 The potential null pointer is passed into 'memset' function. Inspect the first argument.
General Analysis

libsoxr

cr.c:329 Low V636 CWE-682 The 'i * (int) arbM' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

libsoxr

cr.c:333 Low V636 CWE-682 The 'preL * arbL' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

libsoxr

fft4g.c:289 Low V1059 Macro name overrides the 'double' keyword. This may lead to undefined behavior.
General Analysis

libsoxr

fft4g.c:292 Low V1059 The 'sin' macro name overrides a reserved name from C standard. This may lead to undefined behavior.
General Analysis

libsoxr

fft4g.c:293 Low V1059 The 'cos' macro name overrides a reserved name from C standard. This may lead to undefined behavior.
General Analysis

libsoxr

fft4g.c:572 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'a', 't', 't' in lines 572, 573, 574.
General Analysis

libsoxr

fft4g.c:1081 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '-', '+', '+', '-', '-' in lines 1081, 1082, 1083, 1084, 1085.
General Analysis

libsoxr

fft4g.h:18 Low V1003 The macro 'dft_br_len' is a dangerous expression. The parameter 'l' must be surrounded by parentheses.
General Analysis

libsoxr

fft4g_cache.h:63 High V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

libsoxr

fft4g_cache.h:43 High V634 CWE-783 The priority of the '/' operation is higher than that of the '<<' operation. It's possible that parentheses should be used in the expression.
General Analysis

libsoxr

fft4g_cache.h:46 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'lsx_fft_br'. Check lines: 46, 43.
General Analysis

libsoxr

fft4g_cache.h:46 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'lsx_fft_br_f'. Check lines: 46, 43.
General Analysis

libsoxr

fft4g_cache.h:40 Medium V547 CWE-571 Expression 'len > fft_len' is always true.
General Analysis

libsoxr

fft4g_cache.h:43 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'lsx_fft_br' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libsoxr

fft4g_cache.h:43 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'lsx_fft_br_f' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libsoxr

fft4g_cache.h:44 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'lsx_fft_sc' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libsoxr

fft4g_cache.h:44 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'lsx_fft_sc_f' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libsoxr

fifo.h:62 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'f->data' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libsoxr

fifo.h:74 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the first argument.
General Analysis

libsoxr

filter.c:183 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'pi_wraps'. Check lines: 183, 164.
General Analysis

libsoxr

filter.c:166 Medium V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the first argument. Check lines: 166, 163.
General Analysis

libsoxr

filter.c:235 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer '* h' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libsoxr

filter.c:101 Low V550 CWE-682 An odd precise comparison: x != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

filter.c:148 Low V550 CWE-682 An odd precise comparison: x != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

filter.c:225 Low V550 CWE-682 An odd precise comparison: phase1 == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

filter.c:227 Low V550 CWE-682 An odd precise comparison: phase1 == 1. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

filter.h:14 Low V1003 The macro 'lsx_is_power_of_2' is a dangerous expression. The parameter 'x' must be surrounded by parentheses.
General Analysis

libsoxr

half-fir.h:47 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'output'.
General Analysis

libsoxr

half-fir.h:40 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

half-fir.h:47 Low V769 CWE-119 The 'output' pointer in the 'output + i' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

pffft-wrap.c:37 Medium V1032 CWE-843 The pointer 'a' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft-wrap.c:38 Medium V1032 CWE-843 The pointer 'b' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft-wrap.c:39 Medium V1032 CWE-843 The pointer 'ab' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft-wrap.c:12 Low V1059 The 'sin' macro name overrides a reserved name from C standard. This may lead to undefined behavior.
General Analysis

libsoxr

pffft-wrap.c:13 Low V1059 The 'cos' macro name overrides a reserved name from C standard. This may lead to undefined behavior.
General Analysis

libsoxr

pffft.c:1348 Medium V1032 CWE-843 The pointer 'in' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft.c:1349 Medium V1032 CWE-843 The pointer 'out' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft.c:1667 Medium V1032 CWE-843 The pointer 'finput' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft.c:1668 Medium V1032 CWE-843 The pointer 'foutput' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft.c:1938 Medium V1032 CWE-843 The pointer 'work' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft.c:1943 Medium V1032 CWE-843 The pointer 'work' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft.c:85 Low V1003 The macro 'VLA_ARRAY_ON_STACK' is a dangerous expression. The parameters 'varname__', 'size__' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:441 Low V1003 The macro 'cc_ref' is a dangerous expression. The parameters 'a_1', 'a_2' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:442 Low V1003 The macro 'ch_ref' is a dangerous expression. The parameters 'a_1', 'a_3' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:825 Low V1003 The macro 'cc_ref' is a dangerous expression. The parameter 'a_1' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:826 Low V1003 The macro 'ch_ref' is a dangerous expression. The parameter 'a_1' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:910 Low V1003 The macro 'cc_ref' is a dangerous expression. The parameter 'a_1' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:911 Low V1003 The macro 'ch_ref' is a dangerous expression. The parameter 'a_1' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:191 Low V1059 Macro name overrides the 'float' keyword. This may lead to undefined behavior.
General Analysis

libsoxr

pffft.c:397 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '_mm_sub_ps', '_mm_add_ps', '_mm_sub_ps', '_mm_add_ps', '_mm_sub_ps' in lines 397, 399, 400, 401, 402.
General Analysis

libsoxr

pffft.c:397 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '_mm256_sub_pd', '_mm256_add_pd', '_mm256_sub_pd', '_mm256_add_pd', '_mm256_sub_pd' in lines 397, 399, 400, 401, 402.
General Analysis

libsoxr

pffft.h:92 Low V1059 Macro name overrides the 'float' keyword. This may lead to undefined behavior.
General Analysis

libsoxr

poly-fir.h:128 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'output'.
General Analysis

libsoxr

poly-fir.h:123 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

poly-fir.h:128 Low V769 CWE-119 The 'output' pointer in the 'output + i' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

poly-fir0.h:39 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'output'.
General Analysis

libsoxr

poly-fir0.h:34 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

poly-fir0.h:39 Low V769 CWE-119 The 'output' pointer in the 'output + i' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

rint.h:68 Low V537 CWE-682 Consider reviewing the correctness of 'x' item's usage.
General Analysis

libsoxr

soxr.c:634 High V595 CWE-476 The 'p' pointer was utilized before it was verified against nullptr. Check lines: 634, 636.
General Analysis

libsoxr

soxr.c:702 High V595 CWE-476 The 'p' pointer was utilized before it was verified against nullptr. Check lines: 702, 706.
General Analysis

libsoxr

soxr.c:110 Medium V547 CWE-570 Expression 'quality > 11' is always false.
General Analysis

libsoxr

soxr.c:121 Medium V547 CWE-571 Expression 'quality <= 10' is always true.
General Analysis

libsoxr

soxr.c:125 Medium V560 CWE-570 A part of conditional expression is always false: quality == 11.
General Analysis

libsoxr

soxr.c:439 Medium V560 CWE-571 A part of conditional expression is always true: 1.
General Analysis

libsoxr

soxr.c:583 Medium V560 CWE-571 A part of conditional expression is always true: !error.
General Analysis

libsoxr

soxr.c:823 Low V506 CWE-562 Pointer to local variable 'q_spec1' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis

libsoxr

soxr.c:644 Low V522 CWE-690 There might be dereferencing of a potential null pointer '(soxr_cbufs_t) in'.
General Analysis

libsoxr

soxr.c:794 Low V522 CWE-690 There might be dereferencing of a potential null pointer '(soxr_bufs_t) out'.
General Analysis

libsoxr

soxr.c:368 Low V550 CWE-682 An odd precise comparison: input_rate != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

soxr.c:368 Low V550 CWE-682 An odd precise comparison: output_rate != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

soxr.c:369 Low V550 CWE-682 An odd precise comparison: input_rate != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

soxr.c:470 Low V550 CWE-682 An odd precise comparison: io_ratio != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

soxr.c:716 Low V769 CWE-119 The '(char *) out' pointer in the '(char *) out + osize * odone' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

util-simd.c:51 Medium V1032 CWE-843 The pointer 'a' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

util-simd.c:52 Medium V1032 CWE-843 The pointer 'b' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

util-simd.c:74 Medium V1032 CWE-843 The pointer 'a' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

util-simd.c:75 Medium V1032 CWE-843 The pointer 'b' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

vr32.c:628 High V529 CWE-670 Odd semicolon ';' after 'for' operator.
General Analysis

libsoxr

vr32.c:301 High V613 CWE-761 Strange pointer arithmetic with 'calloc'.
General Analysis

libsoxr

vr32.c:303 High V781 CWE-129 The value of the 'i' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 303, 306.
General Analysis

libsoxr

vr32.c:325 High V781 CWE-129 The value of the 'p->current.stage_num' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 325, 328.
General Analysis

libsoxr

vr32.c:381 High V781 CWE-129 The value of the 'stage_num' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 381, 391.
General Analysis

libsoxr

vr32.c:148 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'coefs1'. Check lines: 148, 127.
General Analysis

libsoxr

vr32.c:213 Medium V547 CWE-571 Expression 's->at.part.integer < s->len' is always true.
General Analysis

libsoxr

vr32.c:232 Medium V547 CWE-571 Expression 's->at.part.integer < s->len' is always true.
General Analysis

libsoxr

vr32.c:137 Medium V769 CWE-119 The 'p' pointer in the 'p ++' expression could be nullptr. In such case, resulting value will be senseless and it should not be used. Check lines: 137, 127.
General Analysis

libsoxr

vr32.c:301 Medium V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

vr32.c:631 Medium V779 CWE-561 Unreachable code detected. It is possible that an error is present.
General Analysis

libsoxr

vr32.c:386 Low V1019 CWE-480 Compound assignment expression 'len -= already_done' is used inside condition.
General Analysis

libsoxr

vr32.c:392 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'dest'.
General Analysis

libsoxr

vr32.c:539 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'output'.
General Analysis

libsoxr

vr32.c:43 Low V547 CWE-571 Expression is always true.
General Analysis

libsoxr

vr32.c:54 Low V547 CWE-571 Expression is always true.
General Analysis

libsoxr

vr32.c:65 Low V547 CWE-571 Expression is always true.
General Analysis

libsoxr

vr32.c:165 Low V547 CWE-571 Expression 'i == 20' is always true.
General Analysis

libsoxr

vr32.c:179 Low V547 CWE-571 Expression 'i == 12' is always true.
General Analysis

libsoxr

vr32.c:313 Low V550 CWE-682 An odd precise comparison: fade_coefs[0] == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

vr32.c:364 Low V550 CWE-682 An odd precise comparison: p->default_io_ratio != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

vr32.c:372 Low V550 CWE-682 An odd precise comparison: p->default_io_ratio != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

vr32.c:427 Low V550 CWE-682 An odd precise comparison: p->default_io_ratio != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

vr32.c:459 Low V550 CWE-682 An odd precise comparison: p->new_io_ratio != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

vr32.c:307 Low V575 CWE-628 The potential null pointer is passed into 'memset' function. Inspect the first argument.
General Analysis

libsoxr

vr32.c:420 Low V575 CWE-628 The potential null pointer is passed into 'memset' function. Inspect the first argument.
General Analysis

libsoxr

vr32.c:488 Low V575 CWE-628 The potential null pointer is passed into 'memset' function. Inspect the first argument.
General Analysis

libsoxr

vr32.c:594 Low V575 CWE-628 The potential null pointer is passed into 'memset' function. Inspect the first argument.
General Analysis

libsoxr

vr32.c:144 Low V769 CWE-119 The 'coefs1' pointer in the 'p - coefs1' expression could be nullptr. In such case, resulting value will be senseless and it should not be used. Check lines: 144, 127.
General Analysis

libsoxr

vr32.c:325 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

vr32.c:383 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

vr32.c:446 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

vr32.c:449 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

MediaInfo

File_Elf.cpp:82 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 82, 84
General Analysis

MediaInfo

File_Iso9660.cpp:87 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '4', '4', '8', '4', '4', '4', '4' in lines 87, 88, 89, 90, 91, 92, 93, 94.
General Analysis

MediaInfo

File_Mz.cpp:160 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 160, 83.
General Analysis

MediaInfo

File_Mz.cpp:139 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '4', '2' in lines 139, 140, 141.
General Analysis

MediaInfo

File_Rar.cpp:90 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: state, HEAD_TYPE, PACK_SIZE, HIGH_PACK_SIZE, HEAD_FLAGS, high_fields, ...
General Analysis

MediaInfo

File_Zip.cpp:274 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '2', '4' in lines 274, 275, 276.
General Analysis

MediaInfo

File_Zip.cpp:467 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '8', '4' in lines 467, 468, 469.
General Analysis

MediaInfo

File_Aac.cpp:390 Medium V688 The 'sampling_frequency_index' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Aac.cpp:363 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Synchronize_ADTS', 'Synchronize_ADTS', 'Synchronize_LATM' in lines 363, 364, 365.
General Analysis

MediaInfo

File_Aac.cpp:42 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: numSubFrames, numProgram, numLayer, numChunk, streamID, progSIndx, ...
General Analysis

MediaInfo

File_Aac_GeneralAudio.cpp:1064 High V640 CWE-483 The code's operational logic does not correspond with its formatting. The second statement will always be executed. It is possible that curly brackets are missing.
General Analysis

MediaInfo

File_Aac_GeneralAudio.cpp:597 Low V524 It is odd that the body of 'lfe_channel_element' function is fully equivalent to the body of 'single_channel_element' function.
General Analysis

MediaInfo

File_Aac_GeneralAudio.cpp:703 Low V688 The 'common_window' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Aac_GeneralAudio.cpp:1354 Low V688 The 'sect_cb' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Aac_GeneralAudio.cpp:1219 Low V793 CWE-691 It is odd that the result of the '-' operator is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Aac_GeneralAudio_Sbr.cpp:387 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Frame_Count_Valid' should be checked here.
General Analysis

MediaInfo

File_Aac_GeneralAudio_Sbr.cpp:591 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'sbr_dtdf', 'sbr_dtdf', 'sbr_invf' in lines 591, 592, 593.
General Analysis

MediaInfo

File_Aac_Main.cpp:900 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 900, 888.
General Analysis

MediaInfo

File_Aac_Main.cpp:492 Medium V557 CWE-119 Array overrun is possible. The value of 'OutputChannels[i]' index could reach 43.
General Analysis

MediaInfo

File_Aac_Main.cpp:107 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 107, 110
General Analysis

MediaInfo

File_Aac_Main.cpp:109 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 109, 111
General Analysis

MediaInfo

File_Aac_Others.cpp:116 High V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

MediaInfo

File_Aac_Others.cpp:167 High V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

MediaInfo

File_Aac_Others.cpp:231 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Skip_S1_', 'Skip_S1_', 'Skip_S2_', 'Skip_S1_' in lines 231, 232, 233, 234.
General Analysis

MediaInfo

File_Aac_Others.cpp:288 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '4', '2' in lines 288, 289, 290.
General Analysis

MediaInfo

File_Aac_Others.cpp:354 Low V688 The 'frame_length' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac3.cpp:2281 High V640 CWE-483 The code's operational logic does not correspond with its formatting. The second statement will always be executed. It is possible that curly brackets are missing.
General Analysis

MediaInfo

File_Ac3.cpp:3759 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 3759, 2267.
General Analysis

MediaInfo

File_Ac3.cpp:3759 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 3759, 2408.
General Analysis

MediaInfo

File_Ac3.cpp:3820 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 3820, 2267.
General Analysis

MediaInfo

File_Ac3.cpp:3820 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 3820, 2408.
General Analysis

MediaInfo

File_Ac3.cpp:4238 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 4238, 4230.
General Analysis

MediaInfo

File_Ac3.cpp:4327 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 4327, 4317.
General Analysis

MediaInfo

File_Ac3.cpp:916 Medium V1048 CWE-1164 The 'protection_bits_secondary' variable was assigned the same value.
General Analysis

MediaInfo

File_Ac3.cpp:1868 Medium V1048 CWE-1164 The 'TimeStamp_Parsed' variable was assigned the same value.
General Analysis

MediaInfo

File_Ac3.cpp:1602 Medium V547 CWE-570 Expression 'HD_SamplingRate < 44100' is always false.
General Analysis

MediaInfo

File_Ac3.cpp:1865 Medium V547 CWE-571 Expression 'Synched' is always true.
General Analysis

MediaInfo

File_Ac3.cpp:4125 Medium V547 CWE-571 Expression 'padding' is always true.
General Analysis

MediaInfo

File_Ac3.cpp:1188 Medium V560 CWE-571 A part of conditional expression is always true: BitRate > 0.
General Analysis

MediaInfo

File_Ac3.cpp:962 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Save_Buffer_Offset, Save_Buffer_Size, EMDF_RemainPos, RemainAfterEMDF, joc_num_objects, joc_ext_config_idx, ...
General Analysis

MediaInfo

File_Ac3.cpp:2478 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '1', '1', '3' in lines 2478, 2479, 2480.
General Analysis

MediaInfo

File_Ac3.cpp:4164 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Get_S1_', 'Get_S1_', 'Get_S2_' in lines 4164, 4165, 4166.
General Analysis

MediaInfo

File_Ac3.cpp:4334 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Skip_S2_', 'Skip_S1_', 'Skip_S1_' in lines 4334, 4335, 4336.
General Analysis

MediaInfo

File_Ac3.cpp:1634 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameDuration) > Epsilon.
General Analysis

MediaInfo

File_Ac3.cpp:1665 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameDuration) > Epsilon.
General Analysis

MediaInfo

File_Ac3.cpp:4546 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File_Ac3.cpp:4052 Low V688 The 'b_lfe_present' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac3.cpp:4657 Low V688 The 'fscod' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac3.cpp:4658 Low V688 The 'frmsizecod' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac3.cpp:4685 Low V688 The 'fscod' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac3.cpp:4686 Low V688 The 'frmsizecod' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac3.cpp:4851 Low V688 The 'bsid' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac4.cpp:282 High V501 There are identical sub-expressions to the left and to the right of the '|' operator: L | R | C | Ls | Rs | Vhl | Vhl
General Analysis

MediaInfo

File_Ac4.cpp:283 High V501 There are identical sub-expressions to the left and to the right of the '|' operator: L | R | C | Ls | Rs | Vhl | Vhl
General Analysis

MediaInfo

File_Ac4.cpp:4675 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 4675, 4666.
General Analysis

MediaInfo

File_Ac4.cpp:2338 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2338, 2344, 2350
General Analysis

MediaInfo

File_Ac4.cpp:2356 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2356, 2363
General Analysis

MediaInfo

File_Ac4.cpp:2459 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2459, 2469
General Analysis

MediaInfo

File_Ac4.cpp:4181 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 4181, 4184
General Analysis

MediaInfo

File_Ac4.cpp:2778 Medium V547 CWE-571 Expression '!G.top_channel_pairs' is always true.
General Analysis

MediaInfo

File_Ac4.cpp:2920 Medium V547 CWE-570 Expression 'G.b_lfe' is always false.
General Analysis

MediaInfo

File_Ac4.cpp:282 Medium V578 CWE-480 An odd bitwise operation detected: L | R | C | Ls | Rs | Vhl | Vhl. Consider verifying it.
General Analysis

MediaInfo

File_Ac4.cpp:283 Medium V578 CWE-480 An odd bitwise operation detected: L | R | C | Ls | Rs | Vhl | Vhl. Consider verifying it.
General Analysis

MediaInfo

File_Ac4.cpp:5153 Medium V614 CWE-457 Potentially uninitialized variable 'Temp' used.
General Analysis

MediaInfo

File_Ac4.cpp:4892 Medium V640 CWE-483 The code's operational logic does not correspond with its formatting. The statement is indented to the right, but it is always executed. It is possible that curly brackets are missing.
General Analysis

MediaInfo

File_Ac4.cpp:3420 Medium V688 The 'Buffer_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac4.cpp:3484 Medium V688 The 'Buffer_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac4.cpp:1918 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Element_Offset' should be checked here.
General Analysis

MediaInfo

File_Ac4.cpp:4219 Low V524 It is odd that the body of 'tool_t4_to_t2' function is fully equivalent to the body of 'tool_b4_to_b2' function.
General Analysis

MediaInfo

File_Ac4.cpp:4289 Low V524 It is odd that the body of 'tool_t2_to_f_s' function is fully equivalent to the body of 'tool_scr_to_c_l' function.
General Analysis

MediaInfo

File_Ac4.cpp:2461 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '1', '2' in lines 2461, 2466, 2471.
General Analysis

MediaInfo

File_Ac4.cpp:3904 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '8', '8', '2' in lines 3904, 3905, 3906.
General Analysis

MediaInfo

File_Ac4.cpp:4770 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Skip_S1_', 'Skip_S4_', 'Skip_S4_' in lines 4770, 4771, 4772.
General Analysis

MediaInfo

File_Ac4.cpp:3969 Low V547 CWE-571 The 'A = b_iframe' expression is equivalent to the 'A = true' expression.
General Analysis

MediaInfo

File_Ac4.cpp:92 Low V550 CWE-682 An odd precise comparison: Array[Pos] == - 3.402823466e+38F. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Ac4.cpp:94 Low V550 CWE-682 An odd precise comparison: Array[Pos] == 3.402823466e+38F. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Ac4.cpp:4921 Low V688 The 'n_substreams' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac4.cpp:1064 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: frame_size, payload_base, sync_word, bitstream_version, frame_rate_index, fs_index, ...
General Analysis

MediaInfo

File_Ac4.cpp:1109 Low V783 CWE-119 Dereferencing of the invalid iterator 'It' might take place.
General Analysis

MediaInfo

File_Ac4.h:52 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: b_loudcorr_type, loudspchgat_dialgate_prac_type, lra_prac_type.
General Analysis

MediaInfo

File_Ac4.h:73 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: phase90_info_2ch, b_surround_attenuation_known, b_lfe_attenuation_known.
General Analysis

MediaInfo

File_Ac4.h:227 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: presentation_version, b_pres_ndot, b_alternative, n_substream_groups.
General Analysis

MediaInfo

File_Ac4.h:111 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: drc_default_profile_flag, drc_decoder_mode_id, drc_compression_curve_flag, drc_compression_curve, drc_gains_config.
General Analysis

MediaInfo

File_Ac4.h:132 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: de_method, de_channel_config.
General Analysis

MediaInfo

File_Ac4.h:346 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Offset, Size.
General Analysis

MediaInfo

File_Ac4.h:286 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: substream_type, b_iframe, b_4_back_channels_present, b_centre_present, b_ajoc, b_static_dmx, ...
General Analysis

MediaInfo

File_Adm.cpp:394 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: p, Items.
General Analysis

MediaInfo

File_Adm.cpp:94 Medium V581 CWE-670 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 81, 94.
General Analysis

MediaInfo

File_Adm.cpp:977 Medium V619 CWE-480 An array is being utilized as a pointer to single object.
General Analysis

MediaInfo

File_Amr.cpp:61 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Channels, IsWB.
General Analysis

MediaInfo

File_Amr.h:54 Medium V703 It is odd that the 'Header_Size' field in derived class 'File_Amr' overwrites field in base class 'File__Analyze'. Check lines: File_Amr.h:54, File__Analyze_MinimizeSize.h:1314.
General Analysis

MediaInfo

File_Caf.cpp:187 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(SampleRate) > Epsilon.
General Analysis

MediaInfo

File_ChannelGrouping.cpp:44 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: StreamID.
General Analysis

MediaInfo

File_ChannelGrouping.cpp:336 Medium V560 CWE-571 A part of conditional expression is always true: Common->Parsers.size() > 1.
General Analysis

MediaInfo

File_ChannelSplitting.cpp:44 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: StreamID, AllFilled, AllFinished, SplittedChannels_c, SplittedChannels_i.
General Analysis

MediaInfo

File_ChannelSplitting.cpp:433 Medium V560 CWE-571 A part of conditional expression is always true: SplittedChannel->Parsers.size() > 1.
General Analysis

MediaInfo

File_ChannelSplitting.cpp:153 Low V601 CWE-704 The 'true' value is implicitly cast to the integer type. Inspect the fifth argument.
General Analysis

MediaInfo

File_DolbyAudioMetadata.cpp:67 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DolbyE.cpp:1808 High V1028 CWE-190 Possible overflow. Consider casting operands, not the result.
General Analysis

MediaInfo

File_DolbyE.cpp:2729 High V547 CWE-571 Expression 'ToPadd < 8' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:2987 High V547 CWE-571 Expression 'ToPadd < 8' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:1669 High V638 CWE-665 A terminal null is present inside a string. The '\0xC2' characters were encountered. Probably meant: '\xC2'.
General Analysis

MediaInfo

File_DolbyE.cpp:1727 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1727, 1714.
General Analysis

MediaInfo

File_DolbyE.cpp:1741 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1741, 1714.
General Analysis

MediaInfo

File_DolbyE.cpp:1753 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1753, 1714.
General Analysis

MediaInfo

File_DolbyE.cpp:2115 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 2115, 2101.
General Analysis

MediaInfo

File_DolbyE.cpp:3115 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 3115, 3101.
General Analysis

MediaInfo

File_DolbyE.cpp:3186 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 3186, 3182.
General Analysis

MediaInfo

File_DolbyE.cpp:3287 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 3287, 3273.
General Analysis

MediaInfo

File_DolbyE.cpp:3358 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 3358, 3354.
General Analysis

MediaInfo

File_DolbyE.cpp:2240 Medium V1048 CWE-1164 The 'len_primary' variable was assigned the same value.
General Analysis

MediaInfo

File_DolbyE.cpp:2248 Medium V1048 CWE-1164 The 'len_second' variable was assigned the same value.
General Analysis

MediaInfo

File_DolbyE.cpp:1188 Medium V547 CWE-571 Expression 'Summary.empty()' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:1263 Medium V547 CWE-571 Expression 'Summary2.empty()' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:1310 Medium V547 CWE-571 Expression 'Summary.empty()' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:1384 Medium V547 CWE-571 Expression 'Summary2.empty()' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:1945 Medium V547 CWE-570 Expression 'BitSkip_End' is always false.
General Analysis

MediaInfo

File_DolbyE.cpp:2756 Medium V547 CWE-571 Expression 'object_info_size_bytes' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:2361 Medium V614 CWE-457 Potentially uninitialized variable 'nonstd_bed_channel_assignment_mask' used. Consider checking the first actual argument of the 'push_back' function.
General Analysis

MediaInfo

File_DolbyE.cpp:800 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Azimuth, Elevation.
General Analysis

MediaInfo

File_DolbyE.cpp:174 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 174, 175
General Analysis

MediaInfo

File_DolbyE.cpp:3220 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'metadata_extension_segment_BitCountAfter' should be checked here.
General Analysis

MediaInfo

File_DolbyE.cpp:172 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '1', '6', '8', '8' in lines 172, 173, 174, 175.
General Analysis

MediaInfo

File_DolbyE.cpp:1506 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'CC2', 'CC3', 'CC3' in lines 1506, 1507, 1508.
General Analysis

MediaInfo

File_DolbyE.cpp:1781 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '3', '3' in lines 1781, 1788, 1795.
General Analysis

MediaInfo

File_DolbyE.cpp:3439 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '1', '2', '3', '3', '3', '3', '1', '2', '2', '1', '8', '1' in lines 3439, 3440, 3441, 3442, 3443, 3444, 3445, 3446, 3447, 3448, 3449, 3450.
General Analysis

MediaInfo

File_DolbyE.cpp:1443 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Mpegv_frame_rate[frame_rate_code]) > Epsilon.
General Analysis

MediaInfo

File_DolbyE.cpp:1636 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Mpegv_frame_rate[frame_rate_code]) > Epsilon.
General Analysis

MediaInfo

File_DolbyE.cpp:1686 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Mpegv_frame_rate[frame_rate_code]) > Epsilon.
General Analysis

MediaInfo

File_DolbyE.cpp:1814 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Mpegv_frame_rate[frame_rate_code]) > Epsilon.
General Analysis

MediaInfo

File_DolbyE.cpp:854 Low V624 CWE-547 The constant 3.14159265359 is being utilized. The resulting value could be inaccurate. Consider using the M_PI constant from <math.h>.
General Analysis

MediaInfo

File_DolbyE.cpp:856 Low V624 CWE-547 The constant 3.14159265359 is being utilized. The resulting value could be inaccurate. Consider using the M_PI constant from <math.h>.
General Analysis

MediaInfo

File_DolbyE.cpp:939 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: object_count, channel_subsegment_size, program_config, metadata_extension_segment_size, meter_segment_size, frame_rate_code, ...
General Analysis

MediaInfo

File_Dsdiff.cpp:207 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: pad.
General Analysis

MediaInfo

File_Dsdiff.cpp:409 Low V760 Two identical blocks of text were found. The second block begins from line 410.
General Analysis

MediaInfo

File_Dsf.cpp:85 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Metadata.
General Analysis

MediaInfo

File_Dts.cpp:1159 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1159, 1007.
General Analysis

MediaInfo

File_Dts.cpp:1178 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1178, 1007.
General Analysis

MediaInfo

File_Dts.cpp:1179 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1179, 1007.
General Analysis

MediaInfo

File_Dts.cpp:1180 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1180, 1007.
General Analysis

MediaInfo

File_Dts.cpp:1105 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1105, 1108
General Analysis

MediaInfo

File_Dts.cpp:382 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Save_Buffer_Offset, Save_Buffer_Size, Original_Size, Number_Of_PCM_Sample_Blocks, Word, BigEndian, ...
General Analysis

MediaInfo

File_Dts.cpp:1133 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(BitRate) > Epsilon.
General Analysis

MediaInfo

File_Iab.cpp:75 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Version.
General Analysis

MediaInfo

File_Iab.cpp:204 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 204, 182.
General Analysis

MediaInfo

File_Iab.cpp:114 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Iab_FrameRate[FrameRate]) > Epsilon.
General Analysis

MediaInfo

File_La.cpp:41 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: seekable, high.
General Analysis

MediaInfo

File_Mpc.cpp:186 Medium V640 CWE-483 The code's operational logic does not correspond with its formatting. The second statement will always be executed. It is possible that curly brackets are missing.
General Analysis

MediaInfo

File_Mpega.cpp:376 High V781 CWE-129 The value of the 'ID' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 376, 405.
General Analysis

MediaInfo

File_Mpega.cpp:378 High V781 CWE-129 The value of the 'sampling_frequency' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 378, 405.
General Analysis

MediaInfo

File_Mpega.cpp:1451 Medium V688 The 'BitRate' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpega.cpp:291 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: ID, layer, bitrate_index, sampling_frequency, mode, mode_extension, ...
General Analysis

MediaInfo

File_Mpega.cpp:1168 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Skip_S2_', 'Skip_S2_', 'Skip_S1_' in lines 1168, 1169, 1170.
General Analysis

MediaInfo

File_Mpega.cpp:1464 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2' in lines 1464, 1465, 1466.
General Analysis

MediaInfo

File_Mpega.cpp:1481 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '4', '2', '2' in lines 1481, 1482, 1483, 1484.
General Analysis

MediaInfo

File_Mpega.cpp:539 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Size) > Epsilon.
General Analysis

MediaInfo

File_Mpega.cpp:1442 Low V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

MediaInfo

File_Mpegh3da.cpp:1775 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1775, 1778
General Analysis

MediaInfo

File_Mpegh3da.cpp:299 Medium V547 CWE-571 Expression '!LabelString.empty()' is always true.
General Analysis

MediaInfo

File_Mpegh3da.cpp:299 Medium V571 CWE-571 Recurring check. The '!LabelString.empty()' condition was already verified in line 297.
General Analysis

MediaInfo

File_Mpegh3da.cpp:2106 Medium V581 CWE-670 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 2104, 2106.
General Analysis

MediaInfo

File_Mpegh3da.cpp:1772 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '7', '5', '5' in lines 1772, 1775, 1778.
General Analysis

MediaInfo

File_Mpegh3da.cpp:254 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: numElements, numAudioChannels, numAudioObjects, numSAOCTransportChannels, numHOATransportChannels, bsNumSignalGroups, ...
General Analysis

MediaInfo

File_Mpegh3da.cpp:1088 Low V760 Two identical blocks of text were found. The second block begins from line 1098.
General Analysis

MediaInfo

File_Mpegh3da.h:176 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: ID, allowOnOff, defaultOnOff.
General Analysis

MediaInfo

File_Pcm.cpp:325 Medium V793 CWE-691 It is odd that the result of the 'BitDepth * Channels / 8' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Pcm_M2ts.cpp:98 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: channel_assignment, sampling_frequency, bits_per_sample.
General Analysis

MediaInfo

File_Pcm_Vob.cpp:117 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: BitDepth, Frequency, NumberOfChannelsMinusOne.
General Analysis

MediaInfo

File_Ps2Audio.cpp:87 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 87, 79.
General Analysis

MediaInfo

File_SmpteSt0302.cpp:47 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: audio_packet_size, number_channels, bits_per_sample.
General Analysis

MediaInfo

File_SmpteSt0331.cpp:47 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Channels_valid.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:1005 High V1028 CWE-190 Possible overflow. Consider casting operands, not the result.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:721 Medium V688 The 'Buffer_Offset_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:701 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'GuardBand_Before' should be checked here.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:905 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'GuardBand_Before' should be checked here.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:235 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:262 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameSize) > Epsilon.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:265 Low V636 CWE-682 The 'Container_Bits * 2 * 48000' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File_SmpteSt0337.h:34 Medium V703 It is odd that the 'Endianness' field in derived class 'File_SmpteSt0337' overwrites field in base class 'File_Pcm_Base'. Check lines: File_SmpteSt0337.h:34, File_Pcm.h:33.
General Analysis

MediaInfo

File_Tak.cpp:74 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: VorbisHeader.
General Analysis

MediaInfo

File_Usac.cpp:82 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: baseChannelCount, loudnessInfoSet_Present.
General Analysis

MediaInfo

File_Usac.cpp:996 Medium V547 CWE-571 Expression 'i >= 10' is always true.
General Analysis

MediaInfo

File_Usac.cpp:652 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '6', '4', '4' in lines 652, 653, 654.
General Analysis

MediaInfo

File_Usac.cpp:681 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '6', '4', '4' in lines 681, 682, 683.
General Analysis

MediaInfo

File_Usac.cpp:142 Low V601 CWE-704 The 'true' value is implicitly cast to the integer type. Inspect the fifth argument.
General Analysis

MediaInfo

File_Vorbis.cpp:139 Medium V1020 CWE-772 The function exited without calling the 'BS_End_LE' function. Check lines: 139, 132.
General Analysis

MediaInfo

File_Vorbis.cpp:139 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 139, 136.
General Analysis

MediaInfo

File_Vorbis.cpp:176 Medium V1020 CWE-772 The function exited without calling the 'BS_End_LE' function. Check lines: 176, 132.
General Analysis

MediaInfo

File_Vorbis.cpp:176 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 176, 136.
General Analysis

MediaInfo

File_Wvpk.cpp:565 High V609 CWE-369 Divide by zero. Denominator range [0x0..0x2EE00].
General Analysis

MediaInfo

File_Wvpk.cpp:105 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: block_samples_LastFrame, joint_stereo, cross_channel_decorrelation, Size, version.
General Analysis

MediaInfo

File_Wvpk.cpp:453 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 453, 325.
General Analysis

MediaInfo

File_Wvpk.cpp:454 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 454, 325.
General Analysis

MediaInfo

File_Wvpk.cpp:212 Low V688 The 'Size' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File__Analyze.cpp:171 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: EOF_AlreadyDetected, Element_Code, BookMark_Element_Level, BookMark_GoTo, PES_FirstByte_Value.
General Analysis

MediaInfo

File__Analyze.cpp:3621 High V763 Parameter 'Element_Level_ToSet' is always rewritten in function body before being used.
General Analysis

MediaInfo

File__Analyze.cpp:1702 Medium V1001 CWE-563 The 'Buffer_Offset' variable is assigned but is not used by the end of the function.
General Analysis

MediaInfo

File__Analyze.cpp:2265 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 2265, 2241.
General Analysis

MediaInfo

File__Analyze.cpp:2265 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 2265, 2245.
General Analysis

MediaInfo

File__Analyze.cpp:2272 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 2272, 2241.
General Analysis

MediaInfo

File__Analyze.cpp:2272 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 2272, 2245.
General Analysis

MediaInfo

File__Analyze.cpp:818 Medium V1048 CWE-1164 The 'Buffer_Temp_Size' variable was assigned the same value.
General Analysis

MediaInfo

File__Analyze.cpp:827 Medium V519 CWE-563 The 'Buffer_Temp_Size' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 818, 827.
General Analysis

MediaInfo

File__Analyze.cpp:804 Medium V560 CWE-571 A part of conditional expression is always true: Buffer_Offset <= Buffer_Size.
General Analysis

MediaInfo

File__Analyze.cpp:804 Medium V560 CWE-571 A part of conditional expression is always true: Buffer_Size.
General Analysis

MediaInfo

File__Analyze.cpp:3147 Medium V560 CWE-571 A part of conditional expression is always true: Config->File_Names.size() > 1.
General Analysis

MediaInfo

File__Analyze.cpp:1611 Medium V728 CWE-571 An excessive check can be simplified. The '||' operator is surrounded by opposite expressions 'Buffer_Offset >= Buffer_Size' and 'Buffer_Offset < Buffer_Size'.
General Analysis

MediaInfo

File__Analyze.cpp:504 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Sub->File_Offset' should be checked here.
General Analysis

MediaInfo

File__Analyze.cpp:962 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Sub->File_Offset' should be checked here.
General Analysis

MediaInfo

File__Analyze.cpp:1129 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Buffer_TotalBytes' should be checked here.
General Analysis

MediaInfo

File__Analyze.cpp:1022 Low V550 CWE-682 An odd precise comparison: Ratio != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File__Analyze.cpp:1684 Low V688 The 'Buffer_Offset' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File__Analyze.cpp:3857 Low V688 The 'Buffer_Size' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File__Analyze.cpp:3061 Low V793 CWE-691 It is odd that the result of the 'FrameInfo.PTS - PTS_Begin' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:701 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 701, 685.
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:792 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 792, 776.
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:875 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 875, 871.
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:908 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 908, 904.
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:236 Medium V560 CWE-570 A part of conditional expression is always false: Exponent == 0xFF.
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:1299 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1299, 1300
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:1301 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1301, 1302
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:660 Low V524 It is odd that the body of 'Get_GUID' function is fully equivalent to the body of 'Get_B16_' function.
General Analysis

MediaInfo

File__Analyze_MinimizeSize.h:847 Medium V524 It is odd that the body of 'Skip_S2_' function is fully equivalent to the body of 'Skip_S1_' function.
General Analysis

MediaInfo

File__Analyze_MinimizeSize.h:594 Low V524 It is odd that the body of 'Skip_UUID' function is fully equivalent to the body of 'Skip_GUID' function.
General Analysis

MediaInfo

File__Analyze_MinimizeSize.h:33 Low V688 The 'Buffer' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File__Analyze_MinimizeSize.h:33 Low V688 The 'Buffer_Size' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File__Analyze_MinimizeSize.h:38 Low V688 The 'Buffer_Size' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:2100 Medium V1048 CWE-1164 The 'BitRate' variable was assigned the same value.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:2144 Medium V1048 CWE-1164 The 'BitRate' variable was assigned the same value.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:1856 Medium V560 CWE-571 A part of conditional expression is always true: Pos.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:2385 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'DurationString2', 'DurationString1', 'DurationString2', 'DurationString3' in lines 2385, 2386, 2387, 2388.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:2025 Low V526 CWE-253 The 'compare' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:151 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:735 Low V550 CWE-682 An odd precise comparison: SamplesPerFrame != SamplingRate. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:735 Low V550 CWE-682 An odd precise comparison: SamplingRate != 1.7976931348623158e+308. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:1169 Low V550 CWE-682 An odd precise comparison: BitRate == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:1192 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Value) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:1214 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Value) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1667 High V797 CWE-253 The 'find' function is used as if it returned a bool type. The return value of the function should probably be compared with std::string::npos.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1745 High V797 CWE-253 The 'find' function is used as if it returned a bool type. The return value of the function should probably be compared with std::string::npos.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1563 Medium V560 CWE-571 A part of conditional expression is always true: FrameRate2 != FrameRate.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1582 Medium V560 CWE-571 A part of conditional expression is always true: FrameCount2 != FrameCount.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:203 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Streams_Finish_StreamOnly', 'Streams_Finish_InterStreams', 'Streams_Finish_InterStreams', 'Streams_Finish_InterStreams' in lines 203, 205, 207, 209.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:624 Low V550 CWE-682 An odd precise comparison: Duration == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:642 Low V550 CWE-682 An odd precise comparison: Duration == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1147 Low V550 CWE-682 An odd precise comparison: Duration == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1174 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1198 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(SamplingRate) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1201 Low V550 CWE-682 An odd precise comparison: FrameRate != SamplingRate. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1219 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(SamplingRate) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1222 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Duration) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1247 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Duration) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1355 Low V550 CWE-682 An odd precise comparison: Duration == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1472 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(TextBitRate_Ratio) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1491 Low V550 CWE-682 An odd precise comparison: Duration == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1493 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Duration) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:622 Low V636 CWE-682 The 'FrameCount * 1000' expression was implicitly cast from 'unsigned __int64' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:640 Low V636 CWE-682 The 'FrameCount * 1000' expression was implicitly cast from 'unsigned __int64' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1353 Low V636 CWE-682 The 'FrameCount * 1000' expression was implicitly cast from 'unsigned __int64' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1489 Low V636 CWE-682 The 'FrameCount * 1000' expression was implicitly cast from 'unsigned __int64' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File_Dds.cpp:44 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Flags, Width, Height, Depth, pfFlags, FourCC.
General Analysis

MediaInfo

File_Dpx.cpp:678 Medium V688 The 'Version' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Dpx.cpp:374 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Sizes_Pos, Version, IsDpx, LittleEndian.
General Analysis

MediaInfo

File_Dpx.cpp:899 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

File_Dpx.cpp:552 Low V688 The 'Version' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Exr.cpp:54 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: name_End, type_End, ImageData_End, LongName.
General Analysis

MediaInfo

File_Exr.cpp:434 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(value) > Epsilon.
General Analysis

MediaInfo

File_Ico.cpp:35 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Type, Count.
General Analysis

MediaInfo

File_Ico.cpp:118 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Jpeg.cpp:252 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: APPE_Adobe0_transform, APP0_JFIF_Parsed, SOS_SOD_Parsed.
General Analysis

MediaInfo

File_Jpeg.cpp:969 Medium V560 CWE-570 A part of conditional expression is always false: APPE_Adobe0_transform == 0.
General Analysis

MediaInfo

File_Jpeg.cpp:721 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Get_B2_', 'Get_B4_', 'Get_B4_' in lines 721, 722, 723.
General Analysis

MediaInfo

File_Jpeg.h:94 Medium V524 It is odd that the body of 'SOF1' function is fully equivalent to the body of 'SOF0' function.
General Analysis

MediaInfo

File_Png.h:65 Low V524 It is odd that the body of 'PLTE' function is fully equivalent to the body of 'IDAT' function.
General Analysis

MediaInfo

File_Tga.cpp:160 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 160, 168
General Analysis

MediaInfo

File_Tga.cpp:82 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: First_Entry_Index, Color_map_Length, Image_Width_, Image_Height_, ID_Length, Color_Map_Type, ...
General Analysis

MediaInfo

File_Tiff.cpp:218 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: LittleEndian.
General Analysis

MediaInfo

File_Tiff.cpp:129 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 129, 130
General Analysis

MediaInfo

File_Tiff.cpp:194 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 194, 195
General Analysis

MediaInfo

File_Tiff.cpp:685 Low V656 CWE-665 Variables 'N', 'D' are initialized through the call to the same function. It's probably an error or un-optimized code. Check lines: 684, 685.
General Analysis

MediaInfo

File_Tiff.cpp:690 Low V656 CWE-665 Variables 'N', 'D' are initialized through the call to the same function. It's probably an error or un-optimized code. Check lines: 689, 690.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3042 High V621 CWE-835 Consider inspecting the 'for' operator. It's possible that the loop will be executed incorrectly or won't be executed at all.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3045 High V621 CWE-835 Consider inspecting the 'for' operator. It's possible that the loop will be executed incorrectly or won't be executed at all.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3042 High V654 CWE-834 The condition 'i < ToReturn.size()' of loop is always false.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3045 High V654 CWE-834 The condition 'Pos < ToReturn.size()' of loop is always false.
General Analysis

MediaInfo

MediaInfo_Config.cpp:2303 High V797 CWE-253 The 'find' function is used as if it returned a bool type. The return value of the function should probably be compared with std::string::npos.
General Analysis

MediaInfo

MediaInfo_Config.cpp:978 Medium V688 The 'Language' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:385 Low V688 The 'Format' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:390 Low V688 The 'Format' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:1805 Low V688 The 'Format' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:2404 Low V688 The 'DecimalPoint' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:2733 Low V688 The 'Format' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:2794 Low V688 The 'Format' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:2844 Low V688 The 'Info' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:2926 Low V688 The 'Complete' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3030 Low V688 The 'Format' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3385 Low V688 The 'Format' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3391 Low V688 The 'Format' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.h:82 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: FormatDetection_MaximumOffset, VariableGopDetection_Occurences, VariableGopDetection_GiveUp, InitDataNotRepeated_Occurences, InitDataNotRepeated_GiveUp, TimeOut, ...
General Analysis

MediaInfo

MediaInfo_Config_MediaInfo.cpp:1656 Medium V560 CWE-571 A part of conditional expression is always true: k.
General Analysis

MediaInfo

MediaInfo_Config_MediaInfo.cpp:1470 Medium V728 An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:411 High V773 CWE-401 The 'Node_Main' pointer was assigned values twice without releasing the memory. A memory leak is possible.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:695 High V797 CWE-253 The 'rfind' function is used as if it returned a bool type. The return value of the function should probably be compared with std::string::npos.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:714 High V797 CWE-253 The 'rfind' function is used as if it returned a bool type. The return value of the function should probably be compared with std::string::npos.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:389 Medium V547 CWE-570 Expression 'HTML' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:423 Medium V547 CWE-570 Expression 'HTML' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:435 Medium V547 CWE-570 Expression 'CSV' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:443 Medium V547 CWE-570 Expression 'HTML' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:462 Medium V547 CWE-570 Expression 'HTML' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:467 Medium V547 CWE-570 Expression 'HTML' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:880 Medium V547 CWE-570 Expression 'JSON' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:429 Medium V560 CWE-571 A part of conditional expression is always true: !JSON.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:463 Medium V560 CWE-571 A part of conditional expression is always true: !JSON.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:469 Medium V560 CWE-571 A part of conditional expression is always true: !CSV.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:469 Medium V560 CWE-571 A part of conditional expression is always true: !HTML.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:469 Medium V560 CWE-571 A part of conditional expression is always true: !JSON.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:868 Medium V560 CWE-571 A part of conditional expression is always true: !JSON.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:406 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'Node_Main'.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:449 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'Node_Current'.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:2549 High V595 CWE-476 The 'Info[FilePos]' pointer was utilized before it was verified against nullptr. Check lines: 2549, 2550.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:2584 High V595 CWE-476 The 'Info[FilePos]' pointer was utilized before it was verified against nullptr. Check lines: 2584, 2585.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:605 High V797 CWE-253 The 'find' function is used as if it returned a bool type. The return value of the function should probably be compared with std::string::npos.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:1626 Medium V506 CWE-562 Pointer to local variable 'Input_Cache' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:1398 Medium V560 CWE-570 A part of conditional expression is always false: !((clock_t) 1000).
General Analysis

MediaInfo

MediaInfo_Internal.cpp:2495 Medium V688 The 'Info' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:2690 Medium V688 The 'Inform_Cache' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:2487 Low V688 The 'Info' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Aaf.cpp:572 Low V524 It is odd that the body of 'Type' function is fully equivalent to the body of 'Identification' function.
General Analysis

MediaInfo

File_Aaf.cpp:166 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '4', '4' in lines 166, 167, 168.
General Analysis

MediaInfo

File_Aaf.cpp:554 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '5', '8', '8' in lines 554, 555, 556.
General Analysis

MediaInfo

File_Aaf.cpp:365 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Aaf.cpp:72 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: xxxSize, SectorShift, MiniSectorShift, sectMiniFatStart, sectDirStart, MiniSectorCutoff, ...
General Analysis

MediaInfo

File_Ancillary.cpp:219 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: DataID, SecondaryDataID, DataCount.
General Analysis

MediaInfo

File_Ancillary.cpp:348 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Bdmv.cpp:1223 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1223, 1215.
General Analysis

MediaInfo

File_Bdmv.cpp:142 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 142, 143
General Analysis

MediaInfo

File_Bdmv.cpp:148 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 148, 154
General Analysis

MediaInfo

File_Bdmv.cpp:166 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 166, 168
General Analysis

MediaInfo

File_Bdmv.cpp:191 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 191, 193
General Analysis

MediaInfo

File_Bdmv.cpp:1097 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '4', '4' in lines 1097, 1098, 1099.
General Analysis

MediaInfo

File_Bdmv.cpp:1305 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Clpi_Video_FrameRate[FrameRate]) > Epsilon.
General Analysis

MediaInfo

File_Bdmv.cpp:1579 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Clpi_Video_FrameRate[FrameRate]) > Epsilon.
General Analysis

MediaInfo

File_Bdmv.cpp:738 Low V783 CWE-119 Dereferencing of the invalid iterator 'PIDs_StreamPos.find(stream_PID)' might take place.
General Analysis

MediaInfo

File_Bdmv.cpp:749 Low V793 CWE-691 It is odd that the result of the 'Stream_End - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Bdmv.cpp:1263 Low V793 CWE-691 It is odd that the result of the 'IDs_End - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Bdmv.cpp:1547 Low V793 CWE-691 It is odd that the result of the 'SubPath_extension_End - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Bdmv.cpp:1551 Low V793 CWE-691 It is odd that the result of the 'End - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Cdxa.cpp:145 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2', '2' in lines 145, 146, 147, 148.
General Analysis

MediaInfo

File_DashMpd.cpp:164 Medium V1002 CWE-665 The 'sequence' class, containing pointers, constructor and destructor, is copied by the automatically generated operator=.
General Analysis

MediaInfo

File_DashMpd.cpp:148 Low V688 The 'BaseURL' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DashMpd.cpp:148 Low V688 The 'SourceDir' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DcpAm.cpp:138 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DcpAm.cpp:234 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DcpAm.cpp:95 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpAm.cpp:127 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpAm.cpp:260 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DcpCpl.cpp:361 Medium V1051 CWE-754 Consider checking for misprints. It's possible that the 'Resource->IgnoreEditsBefore' should be checked here.
General Analysis

MediaInfo

File_DcpCpl.cpp:102 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpCpl.cpp:156 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpCpl.cpp:296 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpCpl.cpp:341 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpCpl.cpp:352 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(EditRate2f) > Epsilon.
General Analysis

MediaInfo

File_DcpPkl.cpp:141 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DcpPkl.cpp:226 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DcpPkl.cpp:112 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpPkl.cpp:119 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpPkl.cpp:147 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpPkl.cpp:252 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Dpg.cpp:50 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Audio_Offset, Audio_Size, Video_Offset, Video_Size.
General Analysis

MediaInfo

File_DvDif.cpp:1855 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 1855, 1846.
General Analysis

MediaInfo

File_DvDif.cpp:1482 Medium V547 CWE-571 Expression 'Streams_Audio.size() < Audio_Count' is always true.
General Analysis

MediaInfo

File_DvDif.cpp:1211 Low V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

MediaInfo

File_DvDif.cpp:1392 Low V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

MediaInfo

File_DvDif.cpp:1403 Low V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

MediaInfo

File_DvDif.cpp:1414 Low V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

MediaInfo

File_DvDif.cpp:1632 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Skip_S1_', 'Skip_S1_', 'Skip_S2_' in lines 1632, 1633, 1634.
General Analysis

MediaInfo

File_DvDif.cpp:438 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(OverallBitRate) > Epsilon.
General Analysis

MediaInfo

File_DvDif.cpp:567 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Duration) > Epsilon.
General Analysis

MediaInfo

File_DvDif.cpp:223 Low V730 CWE-457 It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: Dseq, Dseq_Old, DBN, FSC, FSP, DSF, ...
General Analysis

MediaInfo

File_Dvdv.cpp:1472 Medium V547 CWE-571 Expression 'Pos < ProgramMap.size()' is always true.
General Analysis

MediaInfo

File_Dvdv.cpp:873 Medium V555 CWE-191 The expression 'Offset - 16 > 0' will work as 'Offset != 16'.
General Analysis

MediaInfo

File_Dvdv.cpp:908 Medium V555 CWE-191 The expression 'Offset - 16 > 0' will work as 'Offset != 16'.
General Analysis

MediaInfo

File_Dvdv.cpp:940 Medium V555 CWE-191 The expression 'Offset - 16 > 0' will work as 'Offset != 16'.
General Analysis

MediaInfo

File_Dvdv.cpp:964 Medium V555 CWE-191 The expression 'Offset - 12 > 0' will work as 'Offset != 12'.
General Analysis

MediaInfo

File_Dvdv.cpp:1537 Medium V555 CWE-191 The expression 'Offset - 12 > 0' will work as 'Offset != 12'.
General Analysis

MediaInfo

File_Dvdv.cpp:395 Low V1008 CWE-691 Consider inspecting the 'for' operator. No more than one iteration of the loop will be performed.
General Analysis

MediaInfo

File_Dvdv.cpp:484 Low V1008 CWE-691 Consider inspecting the 'for' operator. No more than one iteration of the loop will be performed.
General Analysis

MediaInfo

File_Dvdv.cpp:350 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2' in lines 350, 351, 352.
General Analysis

MediaInfo

File_Flv.cpp:417 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: video_stream_Count, audio_stream_Count, video_stream_FrameRate_Detected, Time, meta_Level, PreviousTagSize_Add11.
General Analysis

MediaInfo

File_Flv.cpp:996 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 996, 992.
General Analysis

MediaInfo

File_Flv.cpp:473 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Time) > Epsilon.
General Analysis

MediaInfo

File_Flv.cpp:1501 Low V550 CWE-682 An odd precise comparison: Value == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Flv.cpp:1523 Low V550 CWE-682 An odd precise comparison: File_Size != Value. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File_Flv.cpp:1656 Low V601 CWE-704 The 'true' value is implicitly cast to the integer type. Inspect the fifth argument.
General Analysis

MediaInfo

File_Flv.cpp:468 Low V688 The 'Time' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Gxf.cpp:195 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Material_Fields_First, Material_Fields_Last, Material_File_Size, TrackNumber.
General Analysis

MediaInfo

File_Gxf.cpp:887 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 887, 893, 908
General Analysis

MediaInfo

File_Gxf.cpp:94 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 94, 95
General Analysis

MediaInfo

File_Gxf.cpp:96 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 96, 97, 113
General Analysis

MediaInfo

File_Gxf.cpp:98 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 98, 99
General Analysis

MediaInfo

File_Gxf.cpp:100 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 100, 101, 109
General Analysis

MediaInfo

File_Gxf.cpp:111 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 111, 112
General Analysis

MediaInfo

File_Gxf.cpp:1477 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Element_Offset' should be checked here.
General Analysis

MediaInfo

File_Gxf.cpp:304 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A) > Epsilon.
General Analysis

MediaInfo

File_Gxf.cpp:1272 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) < Epsilon.
General Analysis

MediaInfo

File_Gxf.cpp:1282 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

File_Gxf.cpp:1294 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Gxf.cpp:1305 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Temp) > Epsilon.
General Analysis

MediaInfo

File_Gxf.cpp:300 Low V793 CWE-691 It is odd that the result of the '-' operator is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Gxf_TimeCode.cpp:280 High V1028 CWE-190 Possible overflow. Consider casting operands, not the result.
General Analysis

MediaInfo

File_Gxf_TimeCode.cpp:286 Low V550 CWE-682 An odd precise comparison: Gxf_FrameRate(FrameRate_Code) == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Ism.cpp:97 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ivf.cpp:84 Low V793 CWE-691 It is odd that the result of the 'header_size - 32' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Lxf.cpp:1063 High V547 CWE-571 Expression 'frameRateCode < 16 - 1' is always true.
General Analysis

MediaInfo

File_Lxf.cpp:114 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: SampleSize, Version, File_Buffer_Size_Hint_Pointer.
General Analysis

MediaInfo

File_Lxf.cpp:875 Low V550 CWE-682 An odd precise comparison: Config->ParseSpeed == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_MiXml.cpp:301 Medium V688 The 'Element' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mk.cpp:2762 High V640 CWE-483 The code's operational logic does not correspond with its formatting. The second statement will always be executed. It is possible that curly brackets are missing.
General Analysis

MediaInfo

File_Mk.cpp:4878 Medium V636 CWE-682 The '0x8FFFFFFF / 10000' expression was implicitly cast from 'int' type to 'float' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;.
General Analysis

MediaInfo

File_Mk.cpp:2468 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

MediaInfo

File_Mk.cpp:1063 Medium V688 The 'Duration' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mk.cpp:1190 Medium V688 The 'Duration' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mk.cpp:4982 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Offset' should be checked here.
General Analysis

MediaInfo

File_Mk.cpp:4241 Low V524 It is odd that the body of 'Segment_Tracks_TrackEntry_Video_OldStereoMode' function is fully equivalent to the body of 'Segment_Tracks_TrackEntry_Video_StereoMode' function.
General Analysis

MediaInfo

File_Mk.cpp:4492 Low V524 It is odd that the body of 'String_Get' function is fully equivalent to the body of 'UTF8_Get' function.
General Analysis

MediaInfo

File_Mk.cpp:4515 Low V524 It is odd that the body of 'String_Info' function is fully equivalent to the body of 'UTF8_Info' function.
General Analysis

MediaInfo

File_Mk.cpp:2694 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '1', '3', '1' in lines 2694, 2695, 2696.
General Analysis

MediaInfo

File_Mk.cpp:760 Low V550 CWE-682 An odd precise comparison: Duration != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:1106 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Time) > Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:1121 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate_FromTags) > Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:2855 Low V550 CWE-682 An odd precise comparison: Config->ParseSpeed == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:2885 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Config->ParseSpeed) > Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:3350 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Float) > Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:3366 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Float) > Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:2926 Low V688 The 'Segment_Cluster_TimeCode_Value' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mk.cpp:700 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: CodecPrivate_Size, InfoCodecID_Format_Type, TrackType, AudioBitDepth, TrackNumber, TrackVideoDisplayWidth, ...
General Analysis

MediaInfo

File_Mk.h:104 Medium V524 It is odd that the body of 'Segment_Info_NextUID' function is fully equivalent to the body of 'Segment_Info_PrevUID' function.
General Analysis

MediaInfo

File_Mk.h:105 Medium V524 It is odd that the body of 'Segment_Info_NextFilename' function is fully equivalent to the body of 'Segment_Info_PrevFilename' function.
General Analysis

MediaInfo

File_Mk.h:158 Medium V524 It is odd that the body of 'Segment_Tracks_TrackEntry_MinCache' function is fully equivalent to the body of 'Ebml_MaxIDLength' function.
General Analysis

MediaInfo

File_Mpeg4.cpp:2822 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 2822, 2795.
General Analysis

MediaInfo

File_Mpeg4.cpp:427 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4.cpp:1454 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4.cpp:3179 Medium V688 The 'Buffer' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4.cpp:310 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: List, moov_cmov_dcom_Compressor, moov_meta_hdlr_Type, moov_trak_mdia_minf_stbl_stsd_Pos, moov_trak_tkhd_Width, moov_trak_tkhd_Height, ...
General Analysis

MediaInfo

File_Mpeg4.cpp:2866 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2866, 2875
General Analysis

MediaInfo

File_Mpeg4.cpp:2868 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2868, 2869, 2892
General Analysis

MediaInfo

File_Mpeg4.cpp:2870 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2870, 2895
General Analysis

MediaInfo

File_Mpeg4.cpp:2871 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2871, 2893
General Analysis

MediaInfo

File_Mpeg4.cpp:2874 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2874, 2883
General Analysis

MediaInfo

File_Mpeg4.cpp:2878 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2878, 2898, 2899
General Analysis

MediaInfo

File_Mpeg4.cpp:2881 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2881, 2921
General Analysis

MediaInfo

File_Mpeg4.cpp:2909 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2909, 2928
General Analysis

MediaInfo

File_Mpeg4.cpp:2914 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2914, 2935
General Analysis

MediaInfo

File_Mpeg4.cpp:2933 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2933, 2934
General Analysis

MediaInfo

File_Mpeg4.cpp:2941 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2941, 2942
General Analysis

MediaInfo

File_Mpeg4.cpp:2954 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2954, 2955
General Analysis

MediaInfo

File_Mpeg4.cpp:468 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'StreamPos_Last' should be checked here.
General Analysis

MediaInfo

File_Mpeg4.cpp:2513 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'stsz_Current'.
General Analysis

MediaInfo

File_Mpeg4.cpp:2560 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'stsc_Current'.
General Analysis

MediaInfo

File_Mpeg4.cpp:2385 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(BitRate_Nominal) > Epsilon.
General Analysis

MediaInfo

File_Mpeg4.cpp:1260 Low V656 CWE-665 Variables 'Source_Original_Info', 'Source_Info' are initialized through the call to the same function. It's probably an error or un-optimized code. Check lines: 1259, 1260.
General Analysis

MediaInfo

File_Mpeg4.cpp:1631 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4.cpp:2623 Low V769 CWE-119 The 'mdat_Pos_Temp' pointer in the 'mdat_Pos_Temp + mdat_Pos.size()' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

MediaInfo

File_Mpeg4.cpp:1083 Low V783 CWE-119 Dereferencing of the invalid iterator 'NextStream' might take place.
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:145 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 145, 146
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:695 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 695, 706
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:700 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 700, 707
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:702 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 702, 708
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:709 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 709, 710
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:719 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 719, 736, 739
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:742 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 742, 749
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:744 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 744, 750
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:751 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 751, 752
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:1118 Low V524 It is odd that the body of 'Descriptor_0F' function is fully equivalent to the body of 'Descriptor_09' function.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:2973 High V547 CWE-571 Expression 'FirstMoovPos == (int64u) - 1' is always true.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:4307 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 4307, 4300.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:3971 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 3971, 4025, 4033
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:2048 Medium V547 CWE-570 Expression 'mdat_Pos.empty()' is always false.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:2079 Medium V560 CWE-571 A part of conditional expression is always true: Stream_Temp.Parsers.size() > 1.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:3466 Medium V688 The 'List' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:3478 Medium V688 The 'List' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:7953 Medium V793 CWE-691 It is odd that the result of the 'moov_trak_tkhd_Height * d' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:211 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 211, 215
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:238 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 238, 262
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:241 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 241, 274
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:243 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 243, 244
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:245 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 245, 246
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:258 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 258, 259
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:270 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 270, 273
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:308 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 308, 309, 313
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:315 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 315, 339
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:440 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 440, 441, 442
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:452 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 452, 460
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:457 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 457, 462
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:458 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 458, 463
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:2166 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2166, 2167
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:2893 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'data_offset_Final' should be checked here.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:7841 Low V1065 CWE-682 Expression can be simplified, check '1' and similar operands.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:1640 Low V524 It is odd that the body of 'idsc' function is fully equivalent to the body of 'idat' function.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:4569 Low V524 It is odd that the body of 'moov_trak_mdia_minf_nmhd' function is fully equivalent to the body of 'meta' function.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:4709 Low V524 It is odd that the body of 'moov_trak_mdia_minf_stbl_sdtp' function is fully equivalent to the body of 'moov_trak_mdia_minf_stbl_cslg' function.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:8340 Low V524 It is odd that the body of 'moov_udta_DcMD_DcME_Rate' function is fully equivalent to the body of 'meta_iprp_ipco_lsel' function.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:9056 Low V524 It is odd that the body of 'skip' function is fully equivalent to the body of 'moov_udta_XMP_' function.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:1750 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '4', '2' in lines 1750, 1751, 1752.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:4902 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2' in lines 4902, 4903, 4904.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:4972 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2', '2' in lines 4972, 4973, 4974, 4975.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:4982 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '8', '2', '2' in lines 4982, 4983, 4984.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:5129 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2' in lines 5129, 5130, 5131.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:5642 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '4' in lines 5642, 5643, 5644.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:5791 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '4', '4', '2' in lines 5791, 5792, 5793, 5794.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:7916 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '4', '2' in lines 7916, 7917, 7918.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:5857 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(moov_trak_tkhd_Rotation) > Epsilon.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:7953 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(moov_trak_tkhd_Height * d) > Epsilon.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:7955 Low V624 CWE-547 The constant 3.14159 is being utilized. The resulting value could be inaccurate. Consider using the M_PI constant from <math.h>.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:7663 Low V636 CWE-682 The 'Stream_Size_Real * Multiplier' expression was implicitly cast from 'unsigned __int64' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:6623 Low V688 The 'Vendor' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:6747 Low V688 The 'Vendor' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:7503 Low V688 The 'Vendor' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:2058 Low V769 CWE-119 The 'mdat_Pos_Temp' pointer in the 'mdat_Pos_Temp + mdat_Pos.size()' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

MediaInfo

File_MpegPs.cpp:1468 High V1028 CWE-190 Possible overflow. Consider casting operands of the '6 + PES_packet_length' operator to the 'size_t' type, not the result.
General Analysis

MediaInfo

File_MpegPs.cpp:2068 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2068, 2084
General Analysis

MediaInfo

File_MpegPs.cpp:2074 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2074, 2090
General Analysis

MediaInfo

File_MpegPs.cpp:156 Medium V560 CWE-571 A part of conditional expression is always true: stream_id_extension >= 0x02.
General Analysis

MediaInfo

File_MpegPs.cpp:158 Medium V560 CWE-571 A part of conditional expression is always true: stream_id_extension >= 0x12.
General Analysis

MediaInfo

File_MpegPs.cpp:706 Medium V560 CWE-571 A part of conditional expression is always true: Temp.StreamKind != Stream_Max.
General Analysis

MediaInfo

File_MpegPs.cpp:4043 Medium V560 CWE-571 A part of conditional expression is always true: Temp.Parsers.size() > 1.
General Analysis

MediaInfo

File_MpegPs.cpp:1487 Medium V688 The 'stream_id' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_MpegPs.cpp:1698 Medium V688 The 'stream_id' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_MpegPs.cpp:4176 Medium V688 The 'stream_id' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_MpegPs.cpp:4204 Medium V688 The 'private_stream_1_ID' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_MpegPs.cpp:4232 Medium V688 The 'Buffer_Offset_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_MpegPs.cpp:184 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: private_stream_1_ID, private_stream_1_Offset, private_stream_1_IsDvdVideo, video_stream_Count, audio_stream_Count, private_stream_1_Count, ...
General Analysis

MediaInfo

File_MpegPs.cpp:2612 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'audio_stream_Count' should be checked here.
General Analysis

MediaInfo

File_MpegPs.cpp:2567 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Mark_1', 'Mark_1', 'Mark_0', 'Mark_1' in lines 2567, 2569, 2571, 2573.
General Analysis

MediaInfo

File_MpegPs.cpp:310 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Time) > Epsilon.
General Analysis

MediaInfo

File_MpegPs.cpp:321 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate_Original) > Epsilon.
General Analysis

MediaInfo

File_MpegPs.cpp:743 Low V550 CWE-682 An odd precise comparison: FrameRate != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File_MpegPs.cpp:1211 Low V688 The 'Buffer_Offset_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_MpegPs.cpp:1407 Low V688 The 'stream_id' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_MpegPs.cpp:2550 Low V688 The 'stream_id' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_MpegPs.cpp:2550 Low V688 The 'stream_id_extension' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_MpegTs.cpp:556 High V595 CWE-476 The 'Complete_Stream->Streams[elementary_PID]' pointer was utilized before it was verified against nullptr. Check lines: 556, 576.
General Analysis

MediaInfo

File_MpegTs.cpp:1261 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_MpegTs.cpp:1513 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_MpegTs.cpp:2059 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_MpegTs.cpp:247 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: pid, transport_scrambling_control, payload_unit_start_indicator, TS_Size, Begin_MaxDuration, Config_VbrDetection_Delta, ...
General Analysis

MediaInfo

File_MpegTs.cpp:1325 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'TimeStamp_Distance_Count' should be checked here.
General Analysis

MediaInfo

File_MpegTs.cpp:1808 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Config_VbrDetection_Delta) > Epsilon.
General Analysis

MediaInfo

File_MpegTs.cpp:1809 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Config_VbrDetection_Delta) > Epsilon.
General Analysis

MediaInfo

File_MpegTs.cpp:2689 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Config_VbrDetection_Delta) > Epsilon.
General Analysis

MediaInfo

File_MpegTs.cpp:2690 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Config_VbrDetection_Delta) > Epsilon.
General Analysis

MediaInfo

File_MpegTs.cpp:3489 Low V688 The 'Stream' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:1667 Medium V555 CWE-191 The expression 'Element_Size - Element_Offset > 0' will work as 'Element_Size != Element_Offset'.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:1763 Medium V555 CWE-191 The expression 'Element_Size - Element_Offset > 0' will work as 'Element_Size != Element_Offset'.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:2933 Medium V581 CWE-670 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 2927, 2933.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:127 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 127, 129, 130
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:128 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 128, 131
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:410 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 410, 417
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:653 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 653, 654, 655
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:679 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 679, 681
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:693 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 693, 695
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:710 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 710, 711, 712
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:722 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 722, 726
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:740 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 740, 742
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:757 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 757, 758, 759
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:769 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 769, 773
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:784 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 784, 786, 788
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:785 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 785, 787, 789
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:807 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 807, 808, 809
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:813 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 813, 814
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:1051 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1051, 1052
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:1060 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1060, 1135
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:1064 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1064, 1132
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:1108 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1108, 1109
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:1743 Low V524 It is odd that the body of 'Descriptor_08' function is fully equivalent to the body of 'Descriptor_07' function.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:3557 Low V524 It is odd that the body of 'Descriptor_FC' function is fully equivalent to the body of 'Descriptor_C8' function.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:784 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Stream_Video', 'Stream_Audio', 'Stream_Video', 'Stream_Audio', 'Stream_Video', 'Stream_Audio', 'Stream_Text' in lines 784, 785, 786, 787, 788, 789, 790.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:803 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Stream_Audio', 'Stream_Audio', 'Stream_Audio', 'Stream_Audio', 'Stream_Video', 'Stream_Video', 'Stream_Video' in lines 803, 804, 805, 806, 807, 808, 809.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:1736 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '14', '14', '4' in lines 1736, 1737, 1738.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:1747 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '14', '14', '4' in lines 1747, 1748, 1749.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:2448 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '3', '4', '4' in lines 2448, 2449, 2450.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:2494 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '3', '2' in lines 2494, 2495, 2496.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:2571 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '3', '3', '3', '2', '2' in lines 2571, 2572, 2573, 2574, 2575, 2576.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:2832 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '6', '7', '14', '6' in lines 2832, 2833, 2834, 2835.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:3660 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '1', '2', '1', '1', '1', '1', '1' in lines 3660, 3661, 3662, 3663, 3664, 3665, 3666.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:1626 Low V656 CWE-665 Variables are initialized through the call to the same function. It's probably an error or un-optimized code. Check lines: 1625, 1626.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:2465 Low V656 CWE-665 Variables are initialized through the call to the same function. It's probably an error or un-optimized code. Check lines: 2464, 2465.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:3391 Low V688 The 'elementary_PID' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:3657 Low V688 The 'Status' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg_Descriptors.cpp:2875 Low V793 CWE-691 It is odd that the result of the 'Element_Size - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:726 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Descriptors_Size, table_id_extension, pointer_field, table_id, version_number, section_syntax_indicator.
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:99 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 99, 100, 109
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:101 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 101, 102
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:103 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 103, 105, 107
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:106 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 106, 110, 111
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:114 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 114, 115
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:136 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 136, 138, 145
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:142 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 142, 143
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:172 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 172, 181
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:175 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 175, 177, 179
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:178 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 178, 182, 183
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:206 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 206, 208
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:209 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 209, 210
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:266 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 266, 268
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:281 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 281, 282, 283
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:292 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 292, 293
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:301 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 301, 304, 305
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:302 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 302, 303
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:381 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 381, 390
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:382 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 382, 391
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:387 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 387, 388
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:431 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 431, 437
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:563 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 563, 569, 605
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:564 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 564, 566
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:1422 Low V524 It is odd that the body of 'Table_03' function is fully equivalent to the body of 'Table_01' function.
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:265 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Stream_Video', 'Stream_Audio', 'Stream_Text', 'Stream_Audio' in lines 265, 266, 267, 268.
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:301 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Stream_Video', 'Stream_Audio', 'Stream_Audio', 'Stream_Video', 'Stream_Video' in lines 301, 302, 303, 304, 305.
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:1849 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Skip_S4_', 'Skip_S4_', 'Skip_S1_' in lines 1849, 1850, 1851.
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:765 Low V688 The 'pointer_field' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:1076 Low V688 The 'stream_type' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:1790 Low V688 The 'table_id' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg_Psi.cpp:2038 Low V688 The 'event_id' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mxf.cpp:11485 High V1028 CWE-190 Possible overflow. Consider casting operands, not the result.
General Analysis

MediaInfo

File_Mxf.cpp:915 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 915, 922
General Analysis

MediaInfo

File_Mxf.cpp:2719 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2719, 2735
General Analysis

MediaInfo

File_Mxf.cpp:12137 Medium V524 It is odd that the body of 'CameraUnitMetadata_ImageSensorDimensionEffectiveHeight' function is fully equivalent to the body of 'CameraUnitMetadata_ImageSensorDimensionEffectiveWidth' function.
General Analysis

MediaInfo

File_Mxf.cpp:5871 Medium V560 CWE-570 A part of conditional expression is always false.
General Analysis

MediaInfo

File_Mxf.cpp:16483 Medium V688 The 'Code2' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mxf.cpp:4211 Medium V728 An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression.
General Analysis

MediaInfo

File_Mxf.cpp:2257 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Code2, Length2, File_Size_Total, IndexTable_NSL, IndexTable_NPE, TimeCodeFromMaterialPackage, ...
General Analysis

MediaInfo

File_Mxf.cpp:4750 Low V1020 CWE-772 The function exited without calling the 'F.Close' function. Check lines: 4750, 4684.
General Analysis

MediaInfo

File_Mxf.cpp:736 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 736, 737
General Analysis

MediaInfo

File_Mxf.cpp:1280 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1280, 1281
General Analysis

MediaInfo

File_Mxf.cpp:1378 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1378, 1381
General Analysis

MediaInfo

File_Mxf.cpp:1638 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1638, 1639
General Analysis

MediaInfo

File_Mxf.cpp:6001 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6001, 6001, 6001
General Analysis

MediaInfo

File_Mxf.cpp:6002 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6002, 6002, 6002
General Analysis

MediaInfo

File_Mxf.cpp:6003 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6003, 6003, 6003
General Analysis

MediaInfo

File_Mxf.cpp:6004 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6004, 6004, 6004
General Analysis

MediaInfo

File_Mxf.cpp:6005 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6005, 6005, 6005
General Analysis

MediaInfo

File_Mxf.cpp:6006 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6006, 6006, 6006
General Analysis

MediaInfo

File_Mxf.cpp:6007 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6007, 6007, 6007
General Analysis

MediaInfo

File_Mxf.cpp:6008 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6008, 6008, 6008
General Analysis

MediaInfo

File_Mxf.cpp:6009 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6009, 6009, 6009
General Analysis

MediaInfo

File_Mxf.cpp:6010 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6010, 6010, 6010
General Analysis

MediaInfo

File_Mxf.cpp:6011 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6011, 6011, 6011
General Analysis

MediaInfo

File_Mxf.cpp:6012 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6012, 6012, 6012
General Analysis

MediaInfo

File_Mxf.cpp:6013 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6013, 6013, 6013
General Analysis

MediaInfo

File_Mxf.cpp:6014 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6014, 6014, 6014
General Analysis

MediaInfo

File_Mxf.cpp:6015 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6015, 6015, 6015
General Analysis

MediaInfo

File_Mxf.cpp:6016 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6016, 6016, 6016
General Analysis

MediaInfo

File_Mxf.cpp:6017 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6017, 6017, 6017
General Analysis

MediaInfo

File_Mxf.cpp:6018 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6018, 6018, 6018
General Analysis

MediaInfo

File_Mxf.cpp:6019 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6019, 6019, 6019
General Analysis

MediaInfo

File_Mxf.cpp:6020 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6020, 6020, 6020
General Analysis

MediaInfo

File_Mxf.cpp:6021 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6021, 6021, 6021
General Analysis

MediaInfo

File_Mxf.cpp:6022 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6022, 6022, 6022
General Analysis

MediaInfo

File_Mxf.cpp:6023 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6023, 6023, 6023
General Analysis

MediaInfo

File_Mxf.cpp:6024 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6024, 6024, 6024
General Analysis

MediaInfo

File_Mxf.cpp:6025 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6025, 6025, 6025
General Analysis

MediaInfo

File_Mxf.cpp:6026 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6026, 6026, 6026
General Analysis

MediaInfo

File_Mxf.cpp:6027 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6027, 6027, 6027
General Analysis

MediaInfo

File_Mxf.cpp:6028 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6028, 6028, 6028
General Analysis

MediaInfo

File_Mxf.cpp:6029 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6029, 6029, 6029
General Analysis

MediaInfo

File_Mxf.cpp:6030 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6030, 6030, 6030
General Analysis

MediaInfo

File_Mxf.cpp:6031 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6031, 6031, 6031
General Analysis

MediaInfo

File_Mxf.cpp:6032 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6032, 6032, 6032
General Analysis

MediaInfo

File_Mxf.cpp:6033 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6033, 6033, 6033
General Analysis

MediaInfo

File_Mxf.cpp:6034 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6034, 6034, 6034
General Analysis

MediaInfo

File_Mxf.cpp:6035 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6035, 6035, 6035
General Analysis

MediaInfo

File_Mxf.cpp:6036 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6036, 6036, 6036
General Analysis

MediaInfo

File_Mxf.cpp:6037 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6037, 6037, 6037
General Analysis

MediaInfo

File_Mxf.cpp:6038 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6038, 6038, 6038
General Analysis

MediaInfo

File_Mxf.cpp:6039 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6039, 6039, 6039
General Analysis

MediaInfo

File_Mxf.cpp:6040 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6040, 6040, 6040
General Analysis

MediaInfo

File_Mxf.cpp:6041 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6041, 6041, 6041
General Analysis

MediaInfo

File_Mxf.cpp:6042 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6042, 6042, 6042
General Analysis

MediaInfo

File_Mxf.cpp:6043 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6043, 6043, 6043
General Analysis

MediaInfo

File_Mxf.cpp:6044 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6044, 6044, 6044
General Analysis

MediaInfo

File_Mxf.cpp:6045 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6045, 6045, 6045
General Analysis

MediaInfo

File_Mxf.cpp:6046 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6046, 6046, 6046
General Analysis

MediaInfo

File_Mxf.cpp:6047 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6047, 6047, 6047
General Analysis

MediaInfo

File_Mxf.cpp:6048 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6048, 6048, 6048
General Analysis

MediaInfo

File_Mxf.cpp:6049 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6049, 6049, 6049
General Analysis

MediaInfo

File_Mxf.cpp:6050 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6050, 6050, 6050
General Analysis

MediaInfo

File_Mxf.cpp:6051 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6051, 6051, 6051
General Analysis

MediaInfo

File_Mxf.cpp:6052 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6052, 6052, 6052
General Analysis

MediaInfo

File_Mxf.cpp:6053 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6053, 6053, 6053
General Analysis

MediaInfo

File_Mxf.cpp:6054 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6054, 6054, 6054
General Analysis

MediaInfo

File_Mxf.cpp:6055 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6055, 6055, 6055
General Analysis

MediaInfo

File_Mxf.cpp:6056 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6056, 6056, 6056
General Analysis

MediaInfo

File_Mxf.cpp:6057 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6057, 6057, 6057
General Analysis

MediaInfo

File_Mxf.cpp:6058 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6058, 6058, 6058
General Analysis

MediaInfo

File_Mxf.cpp:6059 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6059, 6059, 6059
General Analysis

MediaInfo

File_Mxf.cpp:6060 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6060, 6060, 6060
General Analysis

MediaInfo

File_Mxf.cpp:6061 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6061, 6061, 6061
General Analysis

MediaInfo

File_Mxf.cpp:6062 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6062, 6062, 6062
General Analysis

MediaInfo

File_Mxf.cpp:6063 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6063, 6063, 6063
General Analysis

MediaInfo

File_Mxf.cpp:6064 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6064, 6064, 6064
General Analysis

MediaInfo

File_Mxf.cpp:6065 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6065, 6065, 6065
General Analysis

MediaInfo

File_Mxf.cpp:6066 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6066, 6066, 6066
General Analysis

MediaInfo

File_Mxf.cpp:6067 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6067, 6067, 6067
General Analysis

MediaInfo

File_Mxf.cpp:6068 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6068, 6068, 6068
General Analysis

MediaInfo

File_Mxf.cpp:6069 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6069, 6069, 6069
General Analysis

MediaInfo

File_Mxf.cpp:6070 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6070, 6070, 6070
General Analysis

MediaInfo

File_Mxf.cpp:6078 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6078, 6078, 6078
General Analysis

MediaInfo

File_Mxf.cpp:6079 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6079, 6079, 6079
General Analysis

MediaInfo

File_Mxf.cpp:6080 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6080, 6080, 6080
General Analysis

MediaInfo

File_Mxf.cpp:6081 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6081, 6081, 6081
General Analysis

MediaInfo

File_Mxf.cpp:6082 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6082, 6082, 6082
General Analysis

MediaInfo

File_Mxf.cpp:6092 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6092, 6092, 6092
General Analysis

MediaInfo

File_Mxf.cpp:6094 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6094, 6094, 6094
General Analysis

MediaInfo

File_Mxf.cpp:6095 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6095, 6095, 6095
General Analysis

MediaInfo

File_Mxf.cpp:6096 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6096, 6096, 6096
General Analysis

MediaInfo

File_Mxf.cpp:6097 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6097, 6097, 6097
General Analysis

MediaInfo

File_Mxf.cpp:6098 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6098, 6098, 6098
General Analysis

MediaInfo

File_Mxf.cpp:6099 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6099, 6099, 6099
General Analysis

MediaInfo

File_Mxf.cpp:6100 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6100, 6100, 6100
General Analysis

MediaInfo

File_Mxf.cpp:6101 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6101, 6101, 6101
General Analysis

MediaInfo

File_Mxf.cpp:6102 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6102, 6102, 6102
General Analysis

MediaInfo

File_Mxf.cpp:6103 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 6103, 6103, 6103
General Analysis

MediaInfo

File_Mxf.cpp:16673 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 16673, 16682
General Analysis

MediaInfo

File_Mxf.cpp:11104 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'RandomIndexPacks_MaxOffset' should be checked here.
General Analysis

MediaInfo

File_Mxf.cpp:7770 Low V524 It is odd that the body of 'Application04_01_04_01_01' function is fully equivalent to the body of 'DMScheme1' function.
General Analysis

MediaInfo

File_Mxf.cpp:7980 Low V524 It is odd that the body of 'AncPacketsDescriptor' function is fully equivalent to the body of 'VbiPacketsDescriptor' function.
General Analysis

MediaInfo

File_Mxf.cpp:8193 Low V524 It is odd that the body of 'UCSEncoding' function is fully equivalent to the body of 'NamespaceURI' function.
General Analysis

MediaInfo

File_Mxf.cpp:9184 Low V524 It is odd that the body of 'CDCIEssenceDescriptor_PaddingBits' function is fully equivalent to the body of 'AES3PCMDescriptor_BlockStartOffset' function.
General Analysis

MediaInfo

File_Mxf.cpp:10466 Low V524 It is odd that the body of 'IndexTableSegment_IndexDuration' function is fully equivalent to the body of 'IndexTableSegment_IndexStartPosition' function.
General Analysis

MediaInfo

File_Mxf.cpp:10937 Low V524 It is odd that the body of 'AVCDescriptor_PictureParameterSetFlag' function is fully equivalent to the body of 'AVCDescriptor_SequenceParameterSetFlag' function.
General Analysis

MediaInfo

File_Mxf.cpp:11297 Low V524 It is odd that the body of 'RGBAEssenceDescriptor_ComponentMaxRef' function is fully equivalent to the body of 'CDCIEssenceDescriptor_WhiteReflevel' function.
General Analysis

MediaInfo

File_Mxf.cpp:11312 Low V524 It is odd that the body of 'RGBAEssenceDescriptor_ComponentMinRef' function is fully equivalent to the body of 'CDCIEssenceDescriptor_BlackRefLevel' function.
General Analysis

MediaInfo

File_Mxf.cpp:11923 Low V524 It is odd that the body of 'LensUnitMetadata_FocusPositionFromFrontLensVertex' function is fully equivalent to the body of 'LensUnitMetadata_FocusPositionFromImagePlane' function.
General Analysis

MediaInfo

File_Mxf.cpp:11964 Low V524 It is odd that the body of 'LensUnitMetadata_LensZoomActualFocalLength' function is fully equivalent to the body of 'LensUnitMetadata_LensZoom35mmStillCameraEquivalent' function.
General Analysis

MediaInfo

File_Mxf.cpp:12004 Low V524 It is odd that the body of 'LensUnitMetadata_IrisTNumber' function is fully equivalent to the body of 'LensUnitMetadata_IrisFNumber' function.
General Analysis

MediaInfo

File_Mxf.cpp:12475 Low V524 It is odd that the body of 'UserDefinedAcquisitionMetadata_Sony_E102' function is fully equivalent to the body of 'UserDefinedAcquisitionMetadata_Sony_E101' function.
General Analysis

MediaInfo

File_Mxf.cpp:12502 Low V524 It is odd that the body of 'UserDefinedAcquisitionMetadata_Sony_E104' function is fully equivalent to the body of 'LensUnitMetadata_MacroSetting' function.
General Analysis

MediaInfo

File_Mxf.cpp:13510 Low V524 It is odd that the body of 'Omneon_010201010100_8003' function is fully equivalent to the body of 'Omneon_010201010100_8001' function.
General Analysis

MediaInfo

File_Mxf.cpp:13571 Low V524 It is odd that the body of 'Dolby_SourceTrackID' function is fully equivalent to the body of 'FileDescriptor_LinkedTrackID' function.
General Analysis

MediaInfo

File_Mxf.cpp:13585 Low V524 It is odd that the body of 'Dolby_SimplePayloadSID' function is fully equivalent to the body of 'Application_08_BodySID' function.
General Analysis

MediaInfo

File_Mxf.cpp:8758 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '3', '3' in lines 8758, 8762, 8766.
General Analysis

MediaInfo

File_Mxf.cpp:11455 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '3', '3' in lines 11455, 11459, 11463.
General Analysis

MediaInfo

File_Mxf.cpp:2582 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Duration) > Epsilon.
General Analysis

MediaInfo

File_Mxf.cpp:2597 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File_Mxf.cpp:3317 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File_Mxf.cpp:6475 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Mxf.cpp:6658 Low V550 CWE-682 An odd precise comparison: RealSampleRate == Config->File_EditRate. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Mxf.cpp:9798 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Data) > Epsilon.
General Analysis

MediaInfo

File_Mxf.cpp:11698 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(DTS_Delay) > Epsilon.
General Analysis

MediaInfo

File_Mxf.cpp:16422 Low V688 The 'Length2' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mxf.cpp:16643 Low V688 The 'Code2' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mxf.cpp:3074 Low V783 CWE-119 Dereferencing of the invalid iterator 'Essence1' might take place.
General Analysis

MediaInfo

File_Mxf.cpp:3091 Low V783 CWE-119 Dereferencing of the invalid iterator 'NextStream' might take place.
General Analysis

MediaInfo

File_Mxf.cpp:3470 Low V783 CWE-119 Dereferencing of the invalid iterator 'SourcePackage' might take place.
General Analysis

MediaInfo

File_Nut.cpp:253 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 253, 257
General Analysis

MediaInfo

File_Ogg.cpp:36 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: continued_NextFrame.
General Analysis

MediaInfo

File_Ptx.cpp:132 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '2', '2', '4', '2', '2', '2', '2', '2' in lines 132, 133, 134, 135, 136, 137, 138, 139, 140.
General Analysis

MediaInfo

File_Ptx.cpp:393 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '4', '2', '4', '4' in lines 393, 394, 395, 396, 397.
General Analysis

MediaInfo

File_Ptx.cpp:263 Low V793 CWE-691 It is odd that the result of the 'Opaque1_Length - 6' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Ptx.cpp:400 Low V793 CWE-691 It is odd that the result of the 'Opaque2_Length - 0x12' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Riff.cpp:534 Medium V688 The 'Stream_Structure_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Riff.cpp:88 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Stream_ID, Alignement_ExtraByte, AvgBytesPerSec, PAR, Demux_Rate, SMV_FrameCount, ...
General Analysis

MediaInfo

File_Riff.cpp:268 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'StreamPos_Base' should be used inside 'Temp->second.Parsers[0]->Get' function.
General Analysis

MediaInfo

File_Riff.cpp:518 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A) > Epsilon.
General Analysis

MediaInfo

File_Riff.cpp:499 Low V636 CWE-682 The 'SamplingCount * 1000' expression was implicitly cast from 'unsigned __int64' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File_Riff.cpp:500 Low V636 CWE-682 The 'SamplingCount * 1000' expression was implicitly cast from 'unsigned __int64' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File_Riff.cpp:806 Low V760 Two identical blocks of text were found. The second block begins from line 808.
General Analysis

MediaInfo

File_Riff_Elements.cpp:812 High V1063 The modulo by 1 operation is meaningless. The result will always be zero.
General Analysis

MediaInfo

File_Riff_Elements.cpp:2597 Medium V560 CWE-571 A part of conditional expression is always true: StreamItem.Parsers.size() > 1.
General Analysis

MediaInfo

File_Riff_Elements.cpp:3988 Medium V560 CWE-571 A part of conditional expression is always true: WAVE_fact_samplesCount < File_Size.
General Analysis

MediaInfo

File_Riff_Elements.cpp:3988 Medium V560 CWE-571 A part of conditional expression is always true: WAVE_fact_samplesCount.
General Analysis

MediaInfo

File_Riff_Elements.cpp:3599 Medium V581 CWE-670 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 3586, 3599.
General Analysis

MediaInfo

File_Riff_Elements.cpp:3690 Medium V601 CWE-704 The integer type is implicitly cast to the char type.
General Analysis

MediaInfo

File_Riff_Elements.cpp:1257 Medium V688 The 'AvgBytesPerSec' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Riff_Elements.cpp:2280 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2280, 2294
General Analysis

MediaInfo

File_Riff_Elements.cpp:2305 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2305, 2328
General Analysis

MediaInfo

File_Riff_Elements.cpp:2306 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2306, 2322
General Analysis

MediaInfo

File_Riff_Elements.cpp:1418 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'ComputedBlockAlign' should be checked here.
General Analysis

MediaInfo

File_Riff_Elements.cpp:1220 Low V524 It is odd that the body of 'AVI__hdlr_strl_strd' function is fully equivalent to the body of 'AVI__hdlr_ON2h' function.
General Analysis

MediaInfo

File_Riff_Elements.cpp:2855 Low V524 It is odd that the body of 'AVI__Tdat_rn_O' function is fully equivalent to the body of 'AVI__Tdat_rn_A' function.
General Analysis

MediaInfo

File_Riff_Elements.cpp:3329 Low V524 It is odd that the body of 'rcrd_fld__finf' function is fully equivalent to the body of 'AIFC_FVER' function.
General Analysis

MediaInfo

File_Riff_Elements.cpp:3738 Low V524 It is odd that the body of 'WAVE_adtl_note' function is fully equivalent to the body of 'WAVE_adtl_labl' function.
General Analysis

MediaInfo

File_Riff_Elements.cpp:3928 Low V524 It is odd that the body of 'WAVE_data_Continue' function is fully equivalent to the body of 'RMP3_data_Continue' function.
General Analysis

MediaInfo

File_Riff_Elements.cpp:1433 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '4', '2', '2', '2' in lines 1433, 1434, 1435, 1436, 1437.
General Analysis

MediaInfo

File_Riff_Elements.cpp:769 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(sampleRate) > Epsilon.
General Analysis

MediaInfo

File_Riff_Elements.cpp:2030 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

File_Riff_Elements.cpp:2034 Low V550 CWE-682 An odd precise comparison: avih_FrameRate == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Riff_Elements.cpp:2035 Low V550 CWE-682 An odd precise comparison: avih_FrameRate == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Riff_Elements.cpp:3908 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Duration) > Epsilon.
General Analysis

MediaInfo

File_Riff_Elements.cpp:3914 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(BitRate) > Epsilon.
General Analysis

MediaInfo

File_Riff_Elements.cpp:4024 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(BitRate) > Epsilon.
General Analysis

MediaInfo

File_Riff_Elements.cpp:4117 Low V656 CWE-665 Variables 'Element_Offset', 'Size' are initialized through the call to the same function. It's probably an error or un-optimized code. Consider inspecting the '(int32u) Title.size()' expression. Check lines: 4116, 4117.
General Analysis

MediaInfo

File_Riff_Elements.cpp:1526 Low V688 The 'BitsPerSample' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Riff_Elements.cpp:4170 Low V688 The 'BitsPerSample' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Riff_Elements.cpp:4170 Low V688 The 'SamplesPerSec' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Rm.cpp:60 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: MDPR_IsStream.
General Analysis

MediaInfo

File_Rm.cpp:307 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 307, 305.
General Analysis

MediaInfo

File_Rm.cpp:644 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '4', '4', '2' in lines 644, 645, 646, 647.
General Analysis

MediaInfo

File_Swf.cpp:372 Medium V560 CWE-571 A part of conditional expression is always true: Signature != 0x435753.
General Analysis

MediaInfo

File_Swf.cpp:577 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '1', '1' in lines 577, 578, 579.
General Analysis

MediaInfo

File_Swf.cpp:387 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

File_Wm.cpp:49 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Data_Parse_MultiplePayloads, Data_Parse_CompressedPayload, Streams_Count, Header_StreamProperties_StreamOrder, Data_AfterTheDataChunk, ReplicatedDataLengthType, ...
General Analysis

MediaInfo

File_Wm.cpp:158 Low V783 CWE-119 Dereferencing of the invalid iterator 'PresentationTime_Delta_Most' might take place.
General Analysis

MediaInfo

File_Wm_Elements.cpp:1487 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1487, 1476.
General Analysis

MediaInfo

File_Wm_Elements.cpp:1494 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1494, 1476.
General Analysis

MediaInfo

File_Wm_Elements.cpp:1501 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1501, 1476.
General Analysis

MediaInfo

File_Wm_Elements.cpp:1538 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1538, 1476.
General Analysis

MediaInfo

File_Wm_Elements.cpp:766 Low V524 It is odd that the body of 'Header_HeaderExtension_BandwidthSharing' function is fully equivalent to the body of 'Header_HeaderExtension_GroupMutualExclusion' function.
General Analysis

MediaInfo

File_Wm_Elements.cpp:899 Low V524 It is odd that the body of 'Header_HeaderExtension_TimecodeIndexParameters' function is fully equivalent to the body of 'Header_HeaderExtension_MediaIndexParameters' function.
General Analysis

MediaInfo

File_Wm_Elements.cpp:1712 Low V524 It is odd that the body of 'Index' function is fully equivalent to the body of 'SimpleIndex' function.
General Analysis

MediaInfo

File_Wm_Elements.cpp:426 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '4' in lines 426, 427, 428.
General Analysis

MediaInfo

File_Wm_Elements.cpp:1666 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '4', '4' in lines 1666, 1667, 1668.
General Analysis

MediaInfo

File_Xdcam_Clip.cpp:55 Medium V688 The 'Element' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File__ReferenceFilesHelper.cpp:50 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Demux_Interleave, CountOfReferencesToParse, CountOfReferences_ForReadSize, StreamKind_Last, StreamPos_From, StreamPos_To.
General Analysis

MediaInfo

File__ReferenceFilesHelper.cpp:1211 Medium V1051 CWE-754 Consider checking for misprints. It's possible that the 'StreamPos_To' should be checked here.
General Analysis

MediaInfo

File__ReferenceFilesHelper.cpp:1178 Medium V793 CWE-691 It is odd that the result of the '+' operator is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File__ReferenceFilesHelper.cpp:427 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File__ReferenceFilesHelper.cpp:438 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File__ReferenceFilesHelper.cpp:907 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A) > Epsilon.
General Analysis

MediaInfo

OutputHelpers.h:40 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Multiple.
General Analysis

MediaInfo

OutputHelpers.h:76 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:76 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:81 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:81 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:81 Low V688 The 'Value' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:87 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:87 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:87 Low V688 The 'Value' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:92 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:92 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:92 Low V688 The 'Value' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:97 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:97 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:97 Low V688 The 'Value' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:103 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:103 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:103 Low V688 The 'Value' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:107 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:107 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:107 Low V688 The 'Value' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:113 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:113 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:117 Low V688 The 'Value' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:122 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:122 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:126 Low V688 The 'Value' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:131 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:131 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:135 Low V688 The 'Value' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:144 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:144 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:148 Low V688 The 'Value' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:157 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:157 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:161 Low V688 The 'Value' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:166 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:166 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:170 Low V688 The 'Value' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:175 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:175 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:179 Low V688 The 'Value' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:188 Low V688 The 'Multiple' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:188 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:192 Low V688 The 'Value' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:202 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:202 Low V688 The 'Value' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:206 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:206 Low V688 The 'Value' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:210 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:210 Low V688 The 'Value' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:215 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:219 Low V688 The 'Value' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:223 Low V688 The 'Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

OutputHelpers.h:227 Low V688 The 'Value' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

Reader_File.cpp:450 Medium V547 CWE-570 Expression 'Pos >= MI->Config.File_Sizes.size()' is always false.
General Analysis

MediaInfo

Reader_File.cpp:830 Low V1020 CWE-772 The function exited without calling the 'F.Close' function. Check lines: 830, 449.
General Analysis

MediaInfo

Reader_File.cpp:830 Low V1020 CWE-772 The function exited without calling the 'F.Close' function. Check lines: 830, 537.
General Analysis

MediaInfo

Reader_File.cpp:830 Low V1020 CWE-772 The function exited without calling the 'F.Close' function. Check lines: 830, 546.
General Analysis

MediaInfo

Reader_File.cpp:839 Low V1020 CWE-772 The function exited without calling the 'F.Close' function. Check lines: 839, 449.
General Analysis

MediaInfo

Reader_File.cpp:839 Low V1020 CWE-772 The function exited without calling the 'F.Close' function. Check lines: 839, 537.
General Analysis

MediaInfo

Reader_File.cpp:839 Low V1020 CWE-772 The function exited without calling the 'F.Close' function. Check lines: 839, 546.
General Analysis

MediaInfo

File_Id3v2.cpp:1254 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1254, 1372
General Analysis

MediaInfo

File_Id3v2.cpp:1265 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1265, 1384
General Analysis

MediaInfo

File_Id3v2.cpp:300 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: StreamKind, Id3v2_Version, Unsynchronisation_Global, Unsynchronisation_Frame, DataLengthIndicator.
General Analysis

MediaInfo

File_Id3v2.cpp:45 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 45, 47
General Analysis

MediaInfo

File_Id3v2.cpp:1178 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1178, 1330
General Analysis

MediaInfo

File_Id3v2.cpp:1182 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1182, 1247
General Analysis

MediaInfo

File_Id3v2.cpp:1218 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1218, 1246, 1364
General Analysis

MediaInfo

File_Id3v2.cpp:1224 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1224, 1356
General Analysis

MediaInfo

File_Id3v2.cpp:1236 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1236, 1357
General Analysis

MediaInfo

File_Id3v2.cpp:1237 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1237, 1358
General Analysis

MediaInfo

File_Id3v2.cpp:1242 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1242, 1365
General Analysis

MediaInfo

File_Id3v2.cpp:1243 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1243, 1362
General Analysis

MediaInfo

File_Id3v2.cpp:1244 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1244, 1363
General Analysis

MediaInfo

File_Id3v2.cpp:1245 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1245, 1361
General Analysis

MediaInfo

File_Id3v2.cpp:1249 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1249, 1367
General Analysis

MediaInfo

File_Id3v2.cpp:1272 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1272, 1381
General Analysis

MediaInfo

File_Id3v2.cpp:1309 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1309, 1398
General Analysis

MediaInfo

File_Id3v2.cpp:1310 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1310, 1399
General Analysis

MediaInfo

File_Id3v2.cpp:1313 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1313, 1404
General Analysis

MediaInfo

File_Id3v2.cpp:1314 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1314, 1405
General Analysis

MediaInfo

File_Id3v2.cpp:1317 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1317, 1403
General Analysis

MediaInfo

File_Id3v2.cpp:1318 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1318, 1402
General Analysis

MediaInfo

File_Id3v2.cpp:1320 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1320, 1406
General Analysis

MediaInfo

File_VorbisCom.cpp:45 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: user_comment_list_length.
General Analysis

MediaInfo

File_VorbisCom.cpp:140 Medium V658 CWE-190 A value is being subtracted from the unsigned variable. This can result in an overflow. In such a case, the '<' comparison operation can potentially behave unexpectedly. Consider inspecting the 'Pos < Library_Name.size() - 2' expression.
General Analysis

MediaInfo

File_Xmp.cpp:82 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File__Tags.cpp:47 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Parser_Buffer_Size.
General Analysis

MediaInfo

File__Tags.cpp:638 Medium V1051 CWE-754 Consider checking for misprints. It's possible that the 'ApeTag_Size' should be used inside 'LittleEndian2int32u' function.
General Analysis

MediaInfo

File__Tags.cpp:445 Medium V547 CWE-571 Expression 'TagSizeIsFinal' is always true.
General Analysis

MediaInfo

File__Tags.cpp:517 Medium V658 CWE-190 A value is being subtracted from the unsigned variable. This can result in an overflow. In such a case, the '>' comparison operation can potentially behave unexpectedly.
General Analysis

MediaInfo

File__Tags.cpp:192 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 192, 220.
General Analysis

MediaInfo

File__Tags.cpp:192 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 192, 240.
General Analysis

MediaInfo

File__Tags.cpp:192 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 192, 272.
General Analysis

MediaInfo

File__Tags.cpp:192 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 192, 282.
General Analysis

MediaInfo

File__Tags.cpp:192 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 192, 287.
General Analysis

MediaInfo

File__Tags.cpp:192 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 192, 298.
General Analysis

MediaInfo

File__Tags.cpp:192 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 192, 310.
General Analysis

MediaInfo

File__Tags.cpp:192 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 192, 323.
General Analysis

MediaInfo

File__Tags.cpp:192 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 192, 336.
General Analysis

MediaInfo

File__Tags.cpp:192 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 192, 348.
General Analysis

MediaInfo

File__Tags.cpp:201 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 201, 220.
General Analysis

MediaInfo

File__Tags.cpp:201 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 201, 240.
General Analysis

MediaInfo

File__Tags.cpp:201 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 201, 272.
General Analysis

MediaInfo

File__Tags.cpp:201 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 201, 282.
General Analysis

MediaInfo

File__Tags.cpp:201 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 201, 287.
General Analysis

MediaInfo

File__Tags.cpp:201 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 201, 298.
General Analysis

MediaInfo

File__Tags.cpp:201 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 201, 310.
General Analysis

MediaInfo

File__Tags.cpp:201 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 201, 323.
General Analysis

MediaInfo

File__Tags.cpp:201 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 201, 336.
General Analysis

MediaInfo

File__Tags.cpp:201 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 201, 348.
General Analysis

MediaInfo

File__Tags.cpp:209 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 209, 220.
General Analysis

MediaInfo

File__Tags.cpp:209 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 209, 240.
General Analysis

MediaInfo

File__Tags.cpp:209 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 209, 272.
General Analysis

MediaInfo

File__Tags.cpp:209 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 209, 282.
General Analysis

MediaInfo

File__Tags.cpp:209 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 209, 287.
General Analysis

MediaInfo

File__Tags.cpp:209 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 209, 298.
General Analysis

MediaInfo

File__Tags.cpp:209 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 209, 310.
General Analysis

MediaInfo

File__Tags.cpp:209 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 209, 323.
General Analysis

MediaInfo

File__Tags.cpp:209 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 209, 336.
General Analysis

MediaInfo

File__Tags.cpp:209 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 209, 348.
General Analysis

MediaInfo

File__Tags.cpp:225 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 225, 220.
General Analysis

MediaInfo

File__Tags.cpp:225 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 225, 240.
General Analysis

MediaInfo

File__Tags.cpp:225 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 225, 272.
General Analysis

MediaInfo

File__Tags.cpp:225 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 225, 282.
General Analysis

MediaInfo

File__Tags.cpp:225 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 225, 287.
General Analysis

MediaInfo

File__Tags.cpp:225 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 225, 298.
General Analysis

MediaInfo

File__Tags.cpp:225 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 225, 310.
General Analysis

MediaInfo

File__Tags.cpp:225 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 225, 323.
General Analysis

MediaInfo

File__Tags.cpp:225 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 225, 336.
General Analysis

MediaInfo

File__Tags.cpp:225 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 225, 348.
General Analysis

MediaInfo

File__Tags.cpp:230 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 230, 220.
General Analysis

MediaInfo

File__Tags.cpp:230 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 230, 240.
General Analysis

MediaInfo

File__Tags.cpp:230 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 230, 272.
General Analysis

MediaInfo

File__Tags.cpp:230 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 230, 282.
General Analysis

MediaInfo

File__Tags.cpp:230 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 230, 287.
General Analysis

MediaInfo

File__Tags.cpp:230 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 230, 298.
General Analysis

MediaInfo

File__Tags.cpp:230 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 230, 310.
General Analysis

MediaInfo

File__Tags.cpp:230 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 230, 323.
General Analysis

MediaInfo

File__Tags.cpp:230 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 230, 336.
General Analysis

MediaInfo

File__Tags.cpp:230 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 230, 348.
General Analysis

MediaInfo

File__Tags.cpp:245 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 245, 220.
General Analysis

MediaInfo

File__Tags.cpp:245 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 245, 240.
General Analysis

MediaInfo

File__Tags.cpp:245 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 245, 272.
General Analysis

MediaInfo

File__Tags.cpp:245 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 245, 282.
General Analysis

MediaInfo

File__Tags.cpp:245 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 245, 287.
General Analysis

MediaInfo

File__Tags.cpp:245 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 245, 298.
General Analysis

MediaInfo

File__Tags.cpp:245 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 245, 310.
General Analysis

MediaInfo

File__Tags.cpp:245 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 245, 323.
General Analysis

MediaInfo

File__Tags.cpp:245 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 245, 336.
General Analysis

MediaInfo

File__Tags.cpp:245 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 245, 348.
General Analysis

MediaInfo

File__Tags.cpp:259 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 259, 220.
General Analysis

MediaInfo

File__Tags.cpp:259 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 259, 240.
General Analysis

MediaInfo

File__Tags.cpp:259 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 259, 272.
General Analysis

MediaInfo

File__Tags.cpp:259 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 259, 282.
General Analysis

MediaInfo

File__Tags.cpp:259 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 259, 287.
General Analysis

MediaInfo

File__Tags.cpp:259 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 259, 298.
General Analysis

MediaInfo

File__Tags.cpp:259 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 259, 310.
General Analysis

MediaInfo

File__Tags.cpp:259 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 259, 323.
General Analysis

MediaInfo

File__Tags.cpp:259 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 259, 336.
General Analysis

MediaInfo

File__Tags.cpp:259 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 259, 348.
General Analysis

MediaInfo

File__Tags.cpp:361 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 361, 220.
General Analysis

MediaInfo

File__Tags.cpp:361 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 361, 240.
General Analysis

MediaInfo

File__Tags.cpp:361 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 361, 272.
General Analysis

MediaInfo

File__Tags.cpp:361 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 361, 282.
General Analysis

MediaInfo

File__Tags.cpp:361 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 361, 287.
General Analysis

MediaInfo

File__Tags.cpp:361 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 361, 298.
General Analysis

MediaInfo

File__Tags.cpp:361 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 361, 310.
General Analysis

MediaInfo

File__Tags.cpp:361 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 361, 323.
General Analysis

MediaInfo

File__Tags.cpp:361 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 361, 336.
General Analysis

MediaInfo

File__Tags.cpp:361 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 361, 348.
General Analysis

MediaInfo

File__Tags.cpp:397 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 397, 220.
General Analysis

MediaInfo

File__Tags.cpp:397 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 397, 240.
General Analysis

MediaInfo

File__Tags.cpp:397 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 397, 272.
General Analysis

MediaInfo

File__Tags.cpp:397 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 397, 282.
General Analysis

MediaInfo

File__Tags.cpp:397 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 397, 287.
General Analysis

MediaInfo

File__Tags.cpp:397 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 397, 298.
General Analysis

MediaInfo

File__Tags.cpp:397 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 397, 310.
General Analysis

MediaInfo

File__Tags.cpp:397 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 397, 323.
General Analysis

MediaInfo

File__Tags.cpp:397 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 397, 336.
General Analysis

MediaInfo

File__Tags.cpp:397 Low V1020 CWE-772 The function exited without calling the 'Base->Element_End' function. Check lines: 397, 348.
General Analysis

MediaInfo

File__Tags.h:83 Low V524 It is odd that the body of 'Header_Begin' function is fully equivalent to the body of 'FileHeader_Begin' function.
General Analysis

MediaInfo

File_AribStdB24B37.cpp:893 Low V1003 The macro 'Compute' is a dangerous expression. The parameters 'f', 's' must be surrounded by parentheses.
General Analysis

MediaInfo

File_AribStdB24B37.cpp:909 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 909, 910, 911
General Analysis

MediaInfo

File_AribStdB24B37.cpp:1248 Low V524 It is odd that the body of 'SS3' function is fully equivalent to the body of 'SS2' function.
General Analysis

MediaInfo

File_AribStdB24B37.cpp:1320 Low V524 It is odd that the body of 'CDC' function is fully equivalent to the body of 'COL' function.
General Analysis

MediaInfo

File_AribStdB24B37.cpp:1503 Low V524 It is odd that the body of 'TIME' function is fully equivalent to the body of 'APS' function.
General Analysis

MediaInfo

File_Cdp.cpp:255 High V637 CWE-570 Two opposite conditions were encountered. The second condition is always false. Check lines: 255, 257.
General Analysis

MediaInfo

File_Cdp.cpp:79 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: cdp_length.
General Analysis

MediaInfo

File_Cdp.cpp:257 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'CC2', 'CC2', 'CC1' in lines 257, 259, 261.
General Analysis

MediaInfo

File_Cdp.cpp:504 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(AspectRatio) > Epsilon.
General Analysis

MediaInfo

File_Cdp.cpp:238 Low V688 The 'cdp_length' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Cdp.cpp:244 Low V688 The 'Buffer_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Cdp.cpp:286 Low V688 The 'cdp_length' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Cdp.cpp:292 Low V688 The 'Buffer_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DtvccTransport.cpp:282 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(AspectRatio) > Epsilon.
General Analysis

MediaInfo

File_DvbSubtitle.cpp:52 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: page_id, subtitle_stream_id.
General Analysis

MediaInfo

File_DvbSubtitle.cpp:321 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2' in lines 321, 322, 323.
General Analysis

MediaInfo

File_DvbSubtitle.cpp:368 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2' in lines 368, 369, 370.
General Analysis

MediaInfo

File_DvbSubtitle.cpp:379 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '12', '4', '12' in lines 379, 380, 381, 382.
General Analysis

MediaInfo

File_DvbSubtitle.h:85 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: region_horizontal_address, region_vertical_address, region_width, region_height, region_depth.
General Analysis

MediaInfo

File_Eia608.cpp:171 Medium V547 CWE-571 Expression 'Streams[StreamPos]' is always true.
General Analysis

MediaInfo

File_Eia608.cpp:913 Medium V560 CWE-571 A part of conditional expression is always true: Streams[StreamPos].
General Analysis

MediaInfo

File_Eia608.cpp:436 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 436, 443
General Analysis

MediaInfo

File_Eia608.cpp:750 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 750, 753
General Analysis

MediaInfo

File_Eia608.cpp:756 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 756, 758
General Analysis

MediaInfo

File_Eia608.cpp:771 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 771, 773
General Analysis

MediaInfo

File_Eia608.cpp:446 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '3', '3' in lines 446, 448, 450.
General Analysis

MediaInfo

File_Eia708.cpp:41 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: block_size.
General Analysis

MediaInfo

File_Eia708.cpp:408 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 408, 420
General Analysis

MediaInfo

File_Eia708.cpp:321 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 321, 322, 326
General Analysis

MediaInfo

File_Eia708.cpp:538 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '3', '2', '5' in lines 538, 539, 540, 541.
General Analysis

MediaInfo

File_Eia708.cpp:1181 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2' in lines 1181, 1182, 1183.
General Analysis

MediaInfo

File_Eia708.cpp:1290 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '2', '2', '4', '2', '2' in lines 1290, 1291, 1292, 1293, 1294, 1295.
General Analysis

MediaInfo

File_N19.cpp:215 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: FirstFrame_TCI, DFC, CCT.
General Analysis

MediaInfo

File_N19.cpp:107 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 107, 190
General Analysis

MediaInfo

File_N19.cpp:139 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 139, 162
General Analysis

MediaInfo

File_N19.cpp:330 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(N19_DiskFormatCode_FrameRate(DFC)) > Epsilon.
General Analysis

MediaInfo

File_N19.cpp:353 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(N19_DiskFormatCode_FrameRate(DFC)) > Epsilon.
General Analysis

MediaInfo

File_N19.cpp:440 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(N19_DiskFormatCode_FrameRate(DFC)) > Epsilon.
General Analysis

MediaInfo

File_N19.cpp:446 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(N19_DiskFormatCode_FrameRate(DFC)) > Epsilon.
General Analysis

MediaInfo

File_OtherText.cpp:163 Medium V547 CWE-570 Expression 'Format.empty()' is always false.
General Analysis

MediaInfo

File_Pdf.cpp:96 Medium V1051 CWE-754 Consider checking for misprints. It's possible that the 'CommentSize' should be checked here.
General Analysis

MediaInfo

File_Pdf.cpp:39 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: State, Offsets_Max, Catalog_Level.
General Analysis

MediaInfo

File_Pdf.cpp:258 Low V688 The 'Buffer_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Scc.cpp:257 Low V688 The 'Buffer_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Scte20.cpp:61 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Eia608_DisplayEmptyStream.
General Analysis

MediaInfo

File_Scte20.cpp:268 Low V793 CWE-691 It is odd that the result of the 'Element_Size - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Sdp.cpp:37 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: FieldLines.
General Analysis

MediaInfo

File_Sdp.cpp:71 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Sdp.cpp:169 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Sdp.cpp:231 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Teletext.cpp:40 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: X, Y, CharacterSubset, End.
General Analysis

MediaInfo

File_Teletext.cpp:571 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Teletext.cpp:117 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Teletext.cpp:213 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Teletext.cpp:597 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ttml.cpp:151 Medium V793 CWE-691 It is odd that the result of the '+' operator is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

TimeCode.cpp:117 Medium V560 CWE-570 A part of conditional expression is always false: Temp < - 99.
General Analysis

MediaInfo

File_AfdBarData.cpp:289 High V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

MediaInfo

File_AfdBarData.cpp:134 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: line_number_end_of_top_bar, line_number_start_of_bottom_bar, pixel_number_end_of_left_bar, pixel_number_start_of_right_bar, active_format, aspect_ratio.
General Analysis

MediaInfo

File_AfdBarData.cpp:344 Low V793 CWE-691 It is odd that the result of the 'Element_Size - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Av1.cpp:207 High V610 CWE-758 Undefined behavior. Check the shift operator '<<'. The right operand ('(i * 7)' = [0..49]) is greater than or equal to the length in bits of the promoted left operand.
General Analysis

MediaInfo

File_Av1.cpp:207 High V629 CWE-190 Consider inspecting the '(uleb128_byte & 0x7f) << (i * 7)' expression. Bit shifting of the 32-bit value with a subsequent expansion to the 64-bit type.
General Analysis

MediaInfo

File_Av1.cpp:488 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 488, 483.
General Analysis

MediaInfo

File_Av1.cpp:615 Medium V688 The 'GOP' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Av1.cpp:489 Medium V779 CWE-561 Unreachable code detected. It is possible that an error is present.
General Analysis

MediaInfo

File_Av1.cpp:196 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '3', '2', '3' in lines 196, 197, 198.
General Analysis

MediaInfo

File_Av1.cpp:284 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Skip_S4_', 'Skip_S1_', 'Skip_S1_' in lines 284, 285, 286.
General Analysis

MediaInfo

File_Avc.cpp:2820 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 2820, 2798.
General Analysis

MediaInfo

File_Avc.cpp:3666 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 3666, 3656.
General Analysis

MediaInfo

File_Avc.cpp:3707 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 3707, 3656.
General Analysis

MediaInfo

File_Avc.cpp:4474 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 4474, 4365.
General Analysis

MediaInfo

File_Avc.cpp:4474 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 4474, 4393.
General Analysis

MediaInfo

File_Avc.cpp:4474 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 4474, 4436.
General Analysis

MediaInfo

File_Avc.cpp:3142 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 3142, 3144
General Analysis

MediaInfo

File_Avc.cpp:2656 Medium V796 CWE-484 It is possible that 'break' statement is missing in switch statement.
General Analysis

MediaInfo

File_Avc.cpp:274 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 274, 275
General Analysis

MediaInfo

File_Avc.cpp:413 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 413, 414
General Analysis

MediaInfo

File_Avc.cpp:580 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 580, 582
General Analysis

MediaInfo

File_Avc.cpp:581 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 581, 583
General Analysis

MediaInfo

File_Avc.cpp:618 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 618, 620
General Analysis

MediaInfo

File_Avc.cpp:619 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 619, 621
General Analysis

MediaInfo

File_Avc.cpp:4311 Low V524 It is odd that the body of 'svc_vui_parameters_extension' function is fully equivalent to the body of 'seq_parameter_set_svc_extension' function.
General Analysis

MediaInfo

File_Avc.cpp:2842 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '6', '6', '5' in lines 2842, 2843, 2844.
General Analysis

MediaInfo

File_Avc.cpp:3143 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'sei_message_user_data_unregistered_x264', 'sei_message_user_data_unregistered_x264', 'sei_message_user_data_unregistered_bluray' in lines 3143, 3145, 3147.
General Analysis

MediaInfo

File_Avc.cpp:4276 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '3', '4', '3' in lines 4276, 4277, 4278.
General Analysis

MediaInfo

File_Avc.cpp:4426 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '6', '2', '5', '3', '5', '3' in lines 4426, 4427, 4428, 4429, 4430, 4431.
General Analysis

MediaInfo

File_Avc.cpp:3021 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Avc.cpp:1023 Low V688 The 'MuxingMode' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Avc.cpp:444 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: maximum_content_light_level, maximum_frame_average_light_level, TemporalReferences_Min, TemporalReferences_Max, TemporalReferences_Reserved, TemporalReferences_Offset, ...
General Analysis

MediaInfo

File_Avc.cpp:2897 Low V793 CWE-691 It is odd that the result of the 'Element_Size - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Avc.cpp:2907 Low V793 CWE-691 It is odd that the result of the 'Element_Size - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Avc.cpp:2918 Low V793 CWE-691 It is odd that the result of the 'Element_Size - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Avc.cpp:3126 Low V793 CWE-691 It is odd that the result of the 'Element_Size - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Avc.h:484 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: frame_num, IsTop, IsField.
General Analysis

MediaInfo

File_Avc.h:92 Low V690 The 'xxl_data' class implements the copy assignment operator, but lacks a copy constructor. It is dangerous to use such a class.
General Analysis

MediaInfo

File_AvsV.cpp:228 Medium V728 An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression.
General Analysis

MediaInfo

File_AvsV.cpp:705 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '5', '6', '6', '6' in lines 705, 706, 707, 708.
General Analysis

MediaInfo

File_AvsV.cpp:211 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(AvsV_aspect_ratio[aspect_ratio]) > Epsilon.
General Analysis

MediaInfo

File_AvsV.cpp:168 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: progressive_frame_Count, Interlaced_Top, Interlaced_Bottom, bit_rate, horizontal_size, vertical_size, ...
General Analysis

MediaInfo

File_AvsV.cpp:481 Low V793 CWE-691 It is odd that the result of the 'Element_Size - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_AvsV.cpp:553 Low V793 CWE-691 It is odd that the result of the '-' operator is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_AvsV.cpp:667 Low V793 CWE-691 It is odd that the result of the 'Element_Size - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_AvsV.cpp:763 Low V793 CWE-691 It is odd that the result of the 'Element_Size - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_CineForm.cpp:438 High V547 CWE-570 Expression 'InterlacedFlags & 0x01' is always false.
General Analysis

MediaInfo

File_CineForm.cpp:439 High V547 CWE-570 Expression 'InterlacedFlags & 0x01' is always false.
General Analysis

MediaInfo

File_Dirac.cpp:47 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 47, 48
General Analysis

MediaInfo

File_Dirac.cpp:432 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(pixel_aspect_ratio) > Epsilon.
General Analysis

MediaInfo

File_Dirac.cpp:438 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(frame_rate) > Epsilon.
General Analysis

MediaInfo

File_Dirac.cpp:405 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: frame_width, frame_height, chroma_format, source_sampling, clean_width, clean_height, ...
General Analysis

MediaInfo

File_DolbyVisionMetadata.cpp:115 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DolbyVisionMetadata.cpp:92 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A) > Epsilon.
General Analysis

MediaInfo

File_DolbyVisionMetadata.cpp:131 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(AspectRatio) > Epsilon.
General Analysis

MediaInfo

File_DolbyVisionMetadata.cpp:152 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A) > Epsilon.
General Analysis

MediaInfo

File_DolbyVisionMetadata.cpp:248 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

File_DolbyVisionMetadata.cpp:255 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRateD) > Epsilon.
General Analysis

MediaInfo

File_DolbyVisionMetadata.cpp:269 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Ztring().From_UTF8(Text).To_float32()) > Epsilon.
General Analysis

MediaInfo

File_DolbyVisionMetadata.cpp:275 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Ztring().From_UTF8(Text).To_float32()) > Epsilon.
General Analysis

MediaInfo

File_Ffv1.cpp:1681 High V547 CWE-571 Expression is always true.
General Analysis

MediaInfo

File_Ffv1.cpp:760 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 760, 734.
General Analysis

MediaInfo

File_Ffv1.cpp:1336 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 1336, 1274.
General Analysis

MediaInfo

File_Ffv1.cpp:1493 Medium V756 The 'y' counter is not used inside a nested loop. Consider inspecting usage of 'c' counter.
General Analysis

MediaInfo

File_Ffv1.cpp:495 Low V688 The 'x' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ffv1.cpp:1487 Low V688 The 'x' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ffv1.cpp:452 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: current_slice, micro_version, coder_type, colorspace_type, bits_per_raw_sample, h_chroma_subsample_log2, ...
General Analysis

MediaInfo

File_Ffv1.h:58 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: slice_x, slice_y, slice_w, slice_h, x, y, ...
General Analysis

MediaInfo

File_Flic.cpp:66 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '2', '2', '4', '2', '2' in lines 66, 67, 68, 69, 70, 71.
General Analysis

MediaInfo

File_H263.cpp:123 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Temporal_Reference, Source_Format, PAR_W, PAR_H, Temporal_Reference_IsValid.
General Analysis

MediaInfo

File_H263.cpp:324 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 324, 310.
General Analysis

MediaInfo

File_H263.cpp:374 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 374, 344.
General Analysis

MediaInfo

File_H263.cpp:195 Medium V728 CWE-571 An excessive check can be simplified. The '||' operator is surrounded by opposite expressions 'Buffer_Offset >= Buffer_Size' and 'Buffer_Offset < Buffer_Size'.
General Analysis

MediaInfo

File_Hevc.cpp:923 High V583 CWE-783 The '?:' operator, regardless of its conditional expression, always returns one and the same value: 16.
General Analysis

MediaInfo

File_Hevc.cpp:1672 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 1672, 1588.
General Analysis

MediaInfo

File_Hevc.cpp:1680 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 1680, 1588.
General Analysis

MediaInfo

File_Hevc.cpp:1688 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 1688, 1588.
General Analysis

MediaInfo

File_Hevc.cpp:3793 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 3793, 3670.
General Analysis

MediaInfo

File_Hevc.cpp:3793 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 3793, 3715.
General Analysis

MediaInfo

File_Hevc.cpp:3793 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 3793, 3752.
General Analysis

MediaInfo

File_Hevc.cpp:2178 Medium V547 CWE-571 Expression '!sub_pic_hrd_params_present_flag' is always true.
General Analysis

MediaInfo

File_Hevc.cpp:2972 Medium V547 CWE-571 Expression '!dependent_slice_segment_flag' is always true.
General Analysis

MediaInfo

File_Hevc.cpp:3230 Medium V547 CWE-570 Expression 'stRpsIdx == num_short_term_ref_pic_sets' is always false.
General Analysis

MediaInfo

File_Hevc.cpp:1584 Medium V688 The 'chroma_format_idc' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Hevc.cpp:177 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Buffer_ToSave, Buffer_Size_ToSave, IFrame_Count, chroma_format_idc, slice_pic_parameter_set_id, slice_type, ...
General Analysis

MediaInfo

File_Hevc.cpp:127 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 127, 128
General Analysis

MediaInfo

File_Hevc.cpp:2371 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Hevc.cpp:1065 Low V688 The 'Buffer_Offset_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Hevc.cpp:2298 Low V793 CWE-691 It is odd that the result of the 'Element_Size - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Hevc.h:416 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: frame_num, IsTop, IsField.
General Analysis

MediaInfo

File_Mpeg4v.cpp:1677 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 1677, 1577.
General Analysis

MediaInfo

File_Mpeg4v.cpp:1938 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 1938, 1577.
General Analysis

MediaInfo

File_Mpeg4v.cpp:1938 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 1938, 1583.
General Analysis

MediaInfo

File_Mpeg4v.cpp:825 Medium V560 CWE-571 A part of conditional expression is always true: Element_Code >= 0x20.
General Analysis

MediaInfo

File_Mpeg4v.cpp:1879 Medium V560 CWE-571 A part of conditional expression is always true: vop_time_increment_resolution.
General Analysis

MediaInfo

File_Mpeg4v.cpp:521 Medium V728 An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression.
General Analysis

MediaInfo

File_Mpeg4v.cpp:57 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 57, 71
General Analysis

MediaInfo

File_Mpeg4v.cpp:1872 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Time_End_MilliSeconds' should be checked here.
General Analysis

MediaInfo

File_Mpeg4v.cpp:238 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: IVOP_Count, PVOP_Count, BVOP_Count, BVOP_Count_Max, SVOP_Count, NVOP_Count, ...
General Analysis

MediaInfo

File_Mpeg4v.cpp:1360 Low V793 CWE-691 It is odd that the result of the '-' operator is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Mpegv.cpp:3934 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 3934, 3942
General Analysis

MediaInfo

File_Mpegv.cpp:1337 Medium V728 An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression.
General Analysis

MediaInfo

File_Mpegv.cpp:2206 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2206, 2207, 2212
General Analysis

MediaInfo

File_Mpegv.cpp:1294 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A) > Epsilon.
General Analysis

MediaInfo

File_Mpegv.cpp:1304 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Mpegv_frame_rate[frame_rate_code]) > Epsilon.
General Analysis

MediaInfo

File_Mpegv.cpp:1430 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

File_Mpegv.cpp:1582 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

File_Mpegv.cpp:1590 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate - ceilFrameRate) > Epsilon.
General Analysis

MediaInfo

File_Mpegv.cpp:3431 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A) > Epsilon.
General Analysis

MediaInfo

File_Mpegv.cpp:3689 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Mpegv_frame_rate[frame_rate_code]) > Epsilon.
General Analysis

MediaInfo

File_Mpegv.cpp:3424 Low V636 CWE-682 The '0x1000 * vertical_size_extension' expression was implicitly cast from 'int' type to 'float' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File_Mpegv.cpp:3428 Low V636 CWE-682 The '0x1000 * vertical_size_extension' expression was implicitly cast from 'int' type to 'float' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File_Mpegv.cpp:3437 Low V636 CWE-682 The '0x1000 * vertical_size_extension' expression was implicitly cast from 'int' type to 'float' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File_Mpegv.cpp:1074 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: BVOP_Count, progressive_frame_Count, Interlaced_Top, Interlaced_Bottom, PictureStructure_Field, PictureStructure_Frame, ...
General Analysis

MediaInfo

File_Mpegv.cpp:3190 Low V793 CWE-691 It is odd that the result of the '-' operator is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Mpegv.h:134 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: progressive_frame, top_field_first, repeat_first_field.
General Analysis

MediaInfo

File_Vc1.cpp:297 Low V550 CWE-682 An odd precise comparison: PixelAspectRatio != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File_Vc1.cpp:299 Low V550 CWE-682 An odd precise comparison: FrameRate != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File_Vc1.cpp:759 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

File_Vc1.cpp:699 Low V688 The 'start_code' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Vc1.cpp:215 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Interlaced_Top, Interlaced_Bottom, coded_width, coded_height, framerateexp, frameratecode_enr, ...
General Analysis

MediaInfo

File_Vc1.cpp:799 Low V760 Two identical blocks of text were found. The second block begins from line 800.
General Analysis

MediaInfo

File_Vc1.cpp:917 Low V793 CWE-691 It is odd that the result of the 'Element_Size - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Vc3.cpp:713 Medium V1048 CWE-1164 The 'FrameInfo.DUR' variable was assigned the same value.
General Analysis

MediaInfo

File_Vc3.cpp:129 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'WidthBlock' should be checked here.
General Analysis

MediaInfo

File_Vc3.cpp:132 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'HeightBlock' should be checked here.
General Analysis

MediaInfo

File_Vc3.cpp:700 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

File_Vc3.cpp:894 Low V688 The 'SST' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Vc3.cpp:435 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: HS, CID, ALPF, SPL, PARC, PARN, ...
General Analysis

MediaInfo

File_Vp8.cpp:110 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '3', '2', '2' in lines 110, 111, 112.
General Analysis

MediaInfo

File_Y4m.cpp:223 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

XmlUtils.cpp:84 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

BitStream.h:33 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: LastByte, Buffer_BookMark, Buffer_Size_BookMark, LastByte_BookMark, LastByte_Size_BookMark, BufferUnderRun_BookMark.
General Analysis

MediaInfo

BitStream.h:38 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: LastByte, Buffer_BookMark, Buffer_Size_BookMark, LastByte_BookMark, LastByte_Size_BookMark, BufferUnderRun_BookMark.
General Analysis

MediaInfo

BitStream.h:219 Medium V524 It is odd that the body of 'Skip2' function is fully equivalent to the body of 'Skip1' function.
General Analysis

MediaInfo

BitStream.h:271 Low V524 It is odd that the body of 'Peek3' function is fully equivalent to the body of 'Peek4' function.
General Analysis

MediaInfo

BitStream_Fast.h:33 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: LastByte.
General Analysis

MediaInfo

BitStream_Fast.h:36 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: LastByte.
General Analysis

MediaInfo

BitStream_Fast.h:58 Medium V1048 CWE-1164 The 'Buffer_Size' variable was assigned the same value.
General Analysis

MediaInfo

BitStream_Fast.h:243 Medium V1048 CWE-1164 The 'Buffer_Size' variable was assigned the same value.
General Analysis

MediaInfo

BitStream_Fast.h:401 Low V524 It is odd that the body of 'OffsetBeforeLastCall_Get' function is fully equivalent to the body of 'BitOffset_Get' function.
General Analysis

MediaInfo

BitStream_LE.h:29 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: endbyte, endbit, buffer, ptr, ptr_BeforeLastCall, storage.
General Analysis

MediaInfo

BitStream_LE.h:30 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: endbyte, endbit, buffer, ptr, ptr_BeforeLastCall, storage.
General Analysis

MediaInfo

Conf.h:153 Low V1059 Macro name overrides the 'for' keyword. This may lead to undefined behavior.
General Analysis

MediaInfo

int128u.h:39 Low V690 The 'uint128' class implements a copy constructor, but lacks the copy assignment operator. It is dangerous to use such a class.
General Analysis

MediaInfo

Utils.h:282 Low V1003 The macro 'B8__' is a dangerous expression. The parameter 'x' must be surrounded by parentheses.
General Analysis

MediaInfo

Ztring.h:87 Medium V1071 Consider inspecting the 'From_UTF8' function. The return value is not always used. Total calls: 10, discarded results: 1.
General Analysis

MediaInfo

Ztring.h:87 Medium V1071 Consider inspecting the 'From_UTF8' function. The return value is not always used. Total calls: 13, discarded results: 1.
General Analysis

MediaInfo

Ztring.h:87 Medium V1071 Consider inspecting the 'From_UTF8' function. The return value is not always used. Total calls: 33, discarded results: 1.
General Analysis

MediaInfo

Ztring.h:142 Medium V1071 Consider inspecting the 'From_CC4' function. The return value is not always used. Total calls: 30, discarded results: 3.
General Analysis

MediaInfo

Ztring.h:325 Medium V1071 Consider inspecting the 'MakeUpperCase' function. The return value is not always used. Total calls: 18, discarded results: 1.
General Analysis

mfx_dispatch

mfxvideo++.h:32 High V1053 Calling the 'Close' virtual function in the destructor may lead to unexpected result at runtime.
General Analysis

mfx_dispatch

mfxvideo++.h:77 High V1053 Calling the 'Close' virtual function in the destructor may lead to unexpected result at runtime.
General Analysis

mfx_dispatch

mfxvideo++.h:100 High V1053 Calling the 'Close' virtual function in the destructor may lead to unexpected result at runtime.
General Analysis

mfx_dispatch

mfxvideo++.h:126 High V1053 Calling the 'Close' virtual function in the destructor may lead to unexpected result at runtime.
General Analysis

mfx_dispatch

mfxvideo++.h:149 High V1053 Calling the 'Close' virtual function in the destructor may lead to unexpected result at runtime.
General Analysis

mfx_dispatch

mfxvideo++.h:170 High V1053 Calling the 'Close' virtual function in the destructor may lead to unexpected result at runtime.
General Analysis

mfx_dispatch

main.cpp:342 High V773 CWE-401 The 'pHandle' pointer was assigned values twice without releasing the memory. A memory leak is possible.
General Analysis

mfx_dispatch

main.cpp:231 Medium V560 CWE-570 A part of conditional expression is always false: (MFX_IMPL_AUTO > implMethod).
General Analysis

mfx_dispatch

main.cpp:880 Low V524 It is odd that the body of 'MFXAudioUSER_UnLoad' function is fully equivalent to the body of 'MFXVideoUSER_UnLoad' function.
General Analysis

mfx_dispatch

main.cpp:582 Low V565 CWE-544 An empty exception handler. Silent suppression of exceptions can hide the presence of bugs in source code during testing.
General Analysis

mfx_dispatch

main.cpp:519 Low V656 CWE-665 Variables 'first', 'it' are initialized through the call to the same function. It's probably an error or un-optimized code. Consider inspecting the 'allocatedHandle.begin()' expression. Check lines: 518, 519.
General Analysis

mfx_dispatch

main.cpp:121 Low V690 The copy assignment operator is declared as private in the 'VectorHandleGuard' class, but the default copy constructor will still be generated by compiler. It is dangerous to use such a class.
General Analysis

mfx_dispatch

mfx_dispatcher.cpp:38 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: subkeyName.
General Analysis

mfx_dispatch

mfx_dispatcher.cpp:333 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: reserved.
General Analysis

mfx_dispatch

mfx_dispatcher.cpp:432 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'adapters.NumActual' should be checked here.
General Analysis

mfx_dispatch

mfx_dxva2_device.cpp:383 High V654 CWE-834 The condition '(((HRESULT)(hRes)) >= 0)' of loop is always true.
General Analysis

mfx_dispatch

mfx_dxva2_device.cpp:541 High V654 CWE-834 The condition 'bRes' of loop is always true.
General Analysis

mfx_dispatch

mfx_library_iterator.cpp:122 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_path.
General Analysis

mfx_dispatch

mfx_load_plugin.cpp:324 Medium V547 CWE-570 Expression 'videoCodec.Query == 0' is always false.
General Analysis

mfx_dispatch

mfx_plugin_hive.cpp:370 Medium V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'swscanf_s' function. A pointer to the signed int type is expected.
General Analysis

mfx_dispatch

mfx_plugin_hive.cpp:390 Medium V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'swscanf_s' function. A pointer to the signed int type is expected.
General Analysis

MPCVideoDec

get_bits.h:640 Low V769 CWE-119 The 'buffer' pointer in the 'buffer + buffer_size' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

MPCVideoDec

mpegvideo.h:743 Medium V602 CWE-480 Consider inspecting the '(s->avctx->bits_per_raw_sample > 8)' expression. '>' possibly should be replaced with '>>'.
General Analysis

MPCVideoDec

put_bits.h:327 Medium V1048 CWE-1164 The 's->bit_left' variable was assigned the same value.
General Analysis

MPCVideoDec

put_bits.h:70 Low V769 CWE-119 The 's->buf' pointer in the 's->buf + buffer_size' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

MPCVideoDec

ffmpegContext.cpp:204 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 204, 217
General Analysis

MPCVideoDec

ffmpegContext.cpp:144 Medium V793 CWE-691 It is odd that the result of the 'video_is_level51 * no_level51_support' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MPCVideoDec

ffmpegContext.cpp:36 Low V1059 Macro name overrides the 'class' keyword. This may lead to undefined behavior.
General Analysis

openjpeg

dwt.c:796 High V1028 CWE-190 Possible overflow. Consider casting operands of the 'j + 1' operator to the 'OPJ_SIZE_T' type, not the result.
General Analysis

openjpeg

dwt.c:797 High V1028 CWE-190 Possible overflow. Consider casting operands of the 'sn + j + 1' operator to the 'OPJ_SIZE_T' type, not the result.
General Analysis

openjpeg

dwt.c:845 High V1028 CWE-190 Possible overflow. Consider casting operands of the 'j + 1' operator to the 'OPJ_SIZE_T' type, not the result.
General Analysis

openjpeg

dwt.c:552 Medium V1032 CWE-843 The pointer 'tiledp_col' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:552 Medium V1032 CWE-843 The pointer 'tmp' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:591 Medium V1032 CWE-843 The pointer 'in_even' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:593 Medium V1032 CWE-843 The pointer 'in_odd' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:616 Medium V1032 CWE-843 The pointer 'tmp' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:693 Medium V1032 CWE-843 The pointer 'in_even' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:695 Medium V1032 CWE-843 The pointer 'in_odd' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:697 Medium V1032 CWE-843 The pointer 'tmp' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:981 Medium V1032 CWE-843 The pointer 'fw' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:1368 Medium V1032 CWE-843 The pointer 'tmp' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:1573 Medium V1032 CWE-843 The pointer 'fw' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:1598 Medium V1032 CWE-843 The pointer 'fw' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:1601 Medium V1032 CWE-843 The pointer 'fl' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:2408 Medium V1032 CWE-843 The pointer 'a' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

dwt.c:1743 Medium V547 CWE-570 Expression is always false.
General Analysis

openjpeg

dwt.c:2089 Medium V547 CWE-570 Expression is always false.
General Analysis

openjpeg

dwt.c:2663 Medium V547 CWE-570 Expression is always false.
General Analysis

openjpeg

dwt.c:3317 Medium V547 CWE-570 Expression is always false.
General Analysis

openjpeg

dwt.c:3568 Medium V547 CWE-570 Expression is always false.
General Analysis

openjpeg

dwt.c:2355 Low V1003 The macro 'OPJ_S_off' is a dangerous expression. The parameter 'off' must be surrounded by parentheses.
General Analysis

openjpeg

dwt.c:2356 Low V1003 The macro 'OPJ_D_off' is a dangerous expression. The parameter 'off' must be surrounded by parentheses.
General Analysis

openjpeg

event.c:122 Medium V560 CWE-571 A part of conditional expression is always true: (p_event_mgr != 00).
General Analysis

openjpeg

image.c:195 Low V1048 CWE-1164 The 'p_image_dest->comps' variable was assigned the same value.
General Analysis

openjpeg

image.c:214 Low V1048 CWE-1164 The 'p_image_dest->icc_profile_buf' variable was assigned the same value.
General Analysis

openjpeg

invert.c:149 Low V550 CWE-682 An odd precise comparison: p == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

openjpeg

j2k.c:6094 High V1008 CWE-691 Consider inspecting the 'for' operator. No more than one iteration of the loop will be performed.
General Analysis

openjpeg

j2k.c:6347 High V1008 CWE-691 Consider inspecting the 'for' operator. No more than one iteration of the loop will be performed.
General Analysis

openjpeg

j2k.c:9397 High V595 CWE-476 The 'p_j2k' pointer was utilized before it was verified against nullptr. Check lines: 9397, 9401.
General Analysis

openjpeg

j2k.c:3958 Medium V1048 CWE-1164 The 'l_N_ppm_remaining' variable was assigned the same value.
General Analysis

openjpeg

j2k.c:9096 Medium V1048 CWE-1164 The 'p_j2k->m_procedure_list' variable was assigned the same value.
General Analysis

openjpeg

j2k.c:2297 Medium V560 CWE-570 A part of conditional expression is always false: l_cp->tdx == 0.
General Analysis

openjpeg

j2k.c:2297 Medium V560 CWE-570 A part of conditional expression is always false: l_cp->tdy == 0.
General Analysis

openjpeg

j2k.c:7142 Medium V560 CWE-570 A part of conditional expression is always false: profile == 0x0500.
General Analysis

openjpeg

j2k.c:7143 Medium V560 CWE-570 A part of conditional expression is always false: profile == 0x0600.
General Analysis

openjpeg

j2k.c:7147 Medium V560 CWE-570 A part of conditional expression is always false: profile == 0x0600.
General Analysis

openjpeg

j2k.c:7687 Medium V560 CWE-571 A part of conditional expression is always true: parameters->max_cs_size > 0.
General Analysis

openjpeg

j2k.c:9971 Medium V560 CWE-570 A part of conditional expression is always false.
General Analysis

openjpeg

j2k.c:1766 Low V1048 CWE-1164 The 'tpnum' variable was assigned the same value.
General Analysis

openjpeg

j2k.c:4663 Low V522 CWE-628 Dereferencing of the null pointer 'marker_info' might take place. The potential null pointer is passed into 'opj_j2k_write_plt_in_memory' function. Inspect the second argument. Check lines: 4663, 4840.
General Analysis

openjpeg

j2k.c:7560 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '0x0003', '0x0003', '0x0004' in lines 7560, 7566, 7572.
General Analysis

openjpeg

j2k.c:7624 Low V550 CWE-682 An odd precise comparison: rate_i_corr != parameters->tcp_rates[i]. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

openjpeg

j2k.c:7625 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

openjpeg

j2k.c:7631 Low V550 CWE-682 An odd precise comparison: rate_i_corr != parameters->tcp_rates[i]. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

openjpeg

j2k.c:7637 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

openjpeg

j2k.c:7657 Low V550 CWE-682 An odd precise comparison: parameters->tcp_distoratio[i] == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

openjpeg

j2k.c:7688 Low V550 CWE-682 An odd precise comparison: parameters->tcp_rates[0] == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

openjpeg

j2k.c:11656 Low V574 CWE-823 The 'p_j2k->cstr_index->tile_index' pointer is used simultaneously as an array and as a pointer to single object. Check lines: 11656, 11657.
General Analysis

openjpeg

j2k.c:11007 Low V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11018 Low V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11019 Low V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11020 Low V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11022 Low V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11026 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11026 Low V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11031 Low V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11032 Low V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11141 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11141 Low V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11146 Low V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11179 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11179 Low V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11180 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11180 Low V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11181 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11181 Low V576 CWE-628 Incorrect format. Consider checking the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11201 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11201 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11202 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11202 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11204 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11209 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11233 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11233 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11234 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

j2k.c:11235 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
General Analysis

openjpeg

jp2.c:866 High V547 CWE-571 Expression 'jp2->meth == 2' is always true.
General Analysis

openjpeg

jp2.c:1488 Medium V1001 CWE-563 The 'p_colr_header_data' variable is assigned but is not used by the end of the function.
General Analysis

openjpeg

jp2.c:2373 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'l_current_handler'.
General Analysis

openjpeg

mct.c:94 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '_mm_add_epi32', '_mm_add_epi32', '_mm_add_epi32', '_mm_srai_epi32', '_mm_sub_epi32', '_mm_sub_epi32' in lines 94, 95, 96, 97, 98, 99.
General Analysis

openjpeg

mct.c:226 Low V656 CWE-665 Variables 'UB', 'VR' are initialized through the call to the same function. It's probably an error or un-optimized code. Consider inspecting the '_mm_set_ps1(0.5f)' expression. Check lines: 225, 226.
General Analysis

openjpeg

mqc_inl.h:82 Medium V1048 CWE-1164 The 'mqc->c' variable was assigned the same value.
General Analysis

openjpeg

opj_includes.h:66 Low V1059 The 'fseek' macro name overrides a reserved name from C standard. This may lead to undefined behavior.
General Analysis

openjpeg

opj_includes.h:67 Low V1059 The 'ftell' macro name overrides a reserved name from C standard. This may lead to undefined behavior.
General Analysis

openjpeg

pi.c:1398 High V595 CWE-476 The 'p_image' pointer was utilized before it was verified against nullptr. Check lines: 1398, 1428.
General Analysis

openjpeg

pi.c:1621 High V595 CWE-476 The 'p_image' pointer was utilized before it was verified against nullptr. Check lines: 1621, 1651.
General Analysis

openjpeg

pi.c:1315 High V654 CWE-834 The condition 'pos >= 0' of loop is always true.
General Analysis

openjpeg

pi.c:1919 Low V1048 CWE-1164 The 'incr_top' variable was assigned the same value.
General Analysis

openjpeg

pi.c:1960 Low V1048 CWE-1164 The 'incr_top' variable was assigned the same value.
General Analysis

openjpeg

pi.c:1978 Low V1048 CWE-1164 The 'incr_top' variable was assigned the same value.
General Analysis

openjpeg

pi.c:1996 Low V1048 CWE-1164 The 'incr_top' variable was assigned the same value.
General Analysis

openjpeg

pi.c:2017 Low V1048 CWE-1164 The 'incr_top' variable was assigned the same value.
General Analysis

openjpeg

pi.c:2036 Low V1048 CWE-1164 The 'incr_top' variable was assigned the same value.
General Analysis

openjpeg

pi.c:805 Low V537 CWE-682 Consider reviewing the correctness of 'l_tx0' item's usage.
General Analysis

openjpeg

pi.c:809 Low V537 CWE-682 Consider reviewing the correctness of 'l_ty0' item's usage.
General Analysis

openjpeg

pi.c:931 Low V537 CWE-682 Consider reviewing the correctness of 'l_tx0' item's usage.
General Analysis

openjpeg

pi.c:935 Low V537 CWE-682 Consider reviewing the correctness of 'l_ty0' item's usage.
General Analysis

openjpeg

t1.c:1737 Medium V1032 CWE-843 The pointer 'datap' is cast to a more strictly aligned pointer type.
General Analysis

openjpeg

t1.c:60 Low V1003 The macro 'T1_FLAGS' is a dangerous expression. The parameters 'x', 'y' must be surrounded by parentheses.
General Analysis

openjpeg

t1.c:2317 Low V506 CWE-562 Pointer to local variable 'ret' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis

openjpeg

t1.c:1446 Low V522 CWE-628 Dereferencing of the null pointer 't1' might take place. The potential null pointer is passed into 'opj_t1_allocate_buffers' function. Inspect the first argument. Check lines: 1446, 2167.
General Analysis

openjpeg

t1.c:1905 Low V602 CWE-480 Consider inspecting the 'opj_thread_pool_get_thread_count(tp) > 1' expression. '>' possibly should be replaced with '>>'.
General Analysis

openjpeg

t2.c:805 Medium V547 CWE-570 Expression 'packet_empty' is always false.
General Analysis

openjpeg

t2.c:809 Medium V560 CWE-571 A part of conditional expression is always true: !packet_empty.
General Analysis

openjpeg

t2.c:952 Medium V560 CWE-571 A part of conditional expression is always true: !packet_empty.
General Analysis

openjpeg

tcd.c:412 Medium V1048 CWE-1164 The 'n' variable was assigned the same value.
General Analysis

openjpeg

tcd.c:1679 Medium V547 CWE-570 Expression 'w > 0xffffffffffffffffui64 / h' is always false.
General Analysis

openjpeg

tcd.c:2077 Medium V581 CWE-670 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 2067, 2077.
General Analysis

openjpeg

tcd.c:1069 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'l_current_precinct'.
General Analysis

openjpeg

tcd.c:295 Low V550 CWE-682 An odd precise comparison: dd != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

openjpeg

tcd.c:624 Low V550 CWE-682 An odd precise comparison: stable_thresh == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

openjpeg

tcd.c:2154 Low V574 CWE-823 The 'p_tcd->image->comps' pointer is used simultaneously as an array and as a pointer to single object. Check lines: 2086, 2154.
General Analysis

openjpeg

tcd.c:2154 Low V574 CWE-823 The 'p_tcd->image->comps' pointer is used simultaneously as an array and as a pointer to single object. Check lines: 2106, 2154.
General Analysis

openjpeg

thread.c:645 Medium V547 CWE-571 Expression '!tp->mutex' is always true.
General Analysis

openjpeg

thread.c:692 Medium V547 CWE-571 Expression 'tp->cond == NULL' is always true.
General Analysis

openjpeg

thread.c:649 Low V779 CWE-561 Unreachable code detected. It is possible that an error is present.
General Analysis

openjpeg

thread.c:696 Low V779 CWE-561 Unreachable code detected. It is possible that an error is present.
General Analysis

speex

bits.c:278 High V610 CWE-758 Undefined behavior. Check the shift operator '<<'. The left operand '(- 1)' is negative.
General Analysis

speex

filters.c:632 Medium V557 CWE-125 Array overrun is possible. The value of 'j + k - 3' index could reach 9.
General Analysis

speex

filters.c:632 Medium V557 CWE-125 Array underrun is possible. The value of 'j + k - 3' index could reach -3.
General Analysis

speex

filters.c:440 Low V537 CWE-682 Consider reviewing the correctness of 'awk2' item's usage.
General Analysis

speex

kiss_fft.c:494 Medium V619 CWE-480 The array 'st->twiddles + i' is being utilized as a pointer to single object.
General Analysis

speex

ltp.c:582 Medium V1048 CWE-1164 The 'params' variable was assigned the same value.
General Analysis

speex

ltp.c:763 Medium V751 Parameter 'end' is not used inside function body.
General Analysis

speex

ltp.c:815 Medium V751 Parameter 'end' is not used inside function body.
General Analysis

speex

math_approx.h:318 Low V624 CWE-547 The constant 1.5707963268 is being utilized. The resulting value could be inaccurate. Consider using the M_PI_2 constant from <math.h>.
General Analysis

speex

nb_celp.c:1093 High V512 CWE-682 A call of the 'memset' function will lead to underflow of the buffer 'st->excBuf'.
General Analysis

speex

nb_celp.c:1389 High V547 CWE-570 Expression 'advance < 0' is always false.
General Analysis

speex

nb_celp.c:1405 High V547 CWE-570 Expression 'advance < 0' is always false.
General Analysis

speex

nb_celp.c:641 Medium V1048 CWE-1164 The 'mode' variable was assigned the same value.
General Analysis

speex

nb_celp.c:1388 Medium V519 CWE-563 The 'advance' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1386, 1388.
General Analysis

speex

nb_celp.c:1404 Medium V519 CWE-563 The 'advance' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1402, 1404.
General Analysis

speex

nb_celp.c:1622 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'best_pitch' should be checked here.
General Analysis

speex

os_support.h:62 Low V524 It is odd that the body of 'speex_alloc_scratch' function is fully equivalent to the body of 'speex_alloc' function.
General Analysis

speex

quant_lsp.c:52 Low V1003 The macro 'LSP_LINEAR' is a dangerous expression. The parameter 'i' must be surrounded by parentheses.
General Analysis

speex

sb_celp.c:210 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'st->old_lsp'.
General Analysis

speex

sb_celp.c:1416 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'innov_save'.
General Analysis

speex

smallft.c:521 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 't2', 't2', 't0' in lines 521, 522, 523.
General Analysis

speex

smallft.c:552 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 't2', 't2', 't0' in lines 552, 553, 554.
General Analysis

speex

smallft.c:801 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '-', '-', '+', '+', '-' in lines 801, 802, 803, 804, 805.
General Analysis

speex

smallft.c:925 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 't3', 't4', 't8', 't8' in lines 925, 926, 927, 928.
General Analysis

speex

speex.c:226 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 226, 229
General Analysis

speex

speex.c:226 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '1', '1', '16' in lines 226, 229, 232.
General Analysis

speex

speex_header.c:97 Medium V557 CWE-125 Array overrun is possible. The value of 'i' index could reach 18.
General Analysis

speex

speex_header.c:98 Medium V557 CWE-125 Array overrun is possible. The value of 'i' index could reach 18.
General Analysis

speex

speex_header.c:126 Medium V769 CWE-119 The '(le_header)' pointer in the '(le_header) - (header)' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

speex

speex_header.c:168 Medium V769 CWE-119 The '(le_header)' pointer in the '(le_header) - ((SpeexHeader *) packet)' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

speex

speex_header.c:168 Medium V782 CWE-469 There is no sense in evaluating the distance between elements from different arrays: '(le_header) - ((SpeexHeader *) packet)'.
General Analysis

speex

_kiss_fft_guts.h:75 Low V1003 The macro 'DIVSCALAR' is a dangerous expression. The parameter 'k' must be surrounded by parentheses.
General Analysis

ZenLib

Dir.cpp:538 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Options, FindFileDataW.
General Analysis

ZenLib

File.cpp:362 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '3', '4', '4', '4' in lines 362, 363, 364, 365.
General Analysis

ZenLib

File.cpp:191 Low V688 The 'File_Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

ZenLib

File.cpp:1334 Low V688 The 'File_Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

ZenLib

File.cpp:1341 Low V688 The 'File_Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

ZenLib

File.cpp:1348 Low V688 The 'File_Name' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

ZenLib

Http_Cookies.cpp:103 Low V575 CWE-628 The potential null pointer is passed into 'strftime' function. Inspect the fourth argument.
General Analysis

ZenLib

Http_Request.cpp:214 High V654 CWE-834 The condition '!Line.empty()' of loop is always false.
General Analysis

ZenLib

Http_Request.cpp:128 Medium V1048 CWE-1164 The 'Cookie_Pos' variable was assigned the same value.
General Analysis

ZenLib

Http_Request.cpp:202 Medium V1048 CWE-1164 The 'Content_Pos' variable was assigned the same value.
General Analysis

ZenLib

HTTPClient.h:87 Low V1003 The macro 'ALIGN' is a dangerous expression. The parameter 'size' must be surrounded by parentheses.
General Analysis

ZenLib

HTTPClientWrapper.h:35 Medium V677 Custom declaration of a standard 'UINT32' type. The system header file should be used: #include <BaseTsd.h>.
General Analysis

ZenLib

HTTPClientWrapper.h:36 Medium V677 Custom declaration of a standard 'INT32' type. The system header file should be used: #include <BaseTsd.h>.
General Analysis

ZenLib

HTTPClientWrapper.h:101 Medium V677 Custom declaration of a standard 'CHAR' type. The system header file should be used: #include <WinNT.h>.
General Analysis

ZenLib

HTTPClientWrapper.h:102 Medium V677 Custom declaration of a standard 'UINT16' type. The system header file should be used: #include <BaseTsd.h>.
General Analysis

ZenLib

HTTPClientWrapper.h:103 Medium V677 Custom declaration of a standard 'BOOL' type. The system header file should be used: #include <WinDef.h>.
General Analysis

ZenLib

HTTPClientWrapper.h:104 Medium V677 Custom declaration of a standard 'ULONG' type. The system header file should be used: #include <WinDef.h>.
General Analysis

ZenLib

InfoMap.cpp:40 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Max.
General Analysis

ZenLib

InfoMap.cpp:47 Low V730 CWE-457 It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: Max.
General Analysis

ZenLib

InfoMap.cpp:55 Low V730 CWE-457 It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: Max.
General Analysis

ZenLib

InfoMap.cpp:64 Low V730 CWE-457 It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: Max.
General Analysis

ZenLib

int128s.h:43 Low V690 The 'int128' class implements a copy constructor, but lacks the copy assignment operator. It is dangerous to use such a class.
General Analysis

ZenLib

Thread.cpp:273 Medium V720 It is advised to utilize the 'SuspendThread' function only when developing a debugger (see documentation for details).
General Analysis

ZenLib

Translation.cpp:36 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Max.
General Analysis

ZenLib

Translation.cpp:43 Low V730 CWE-457 It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: Max.
General Analysis

ZenLib

Translation.cpp:50 Low V730 CWE-457 It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: Max.
General Analysis

ZenLib

Translation.cpp:58 Low V730 CWE-457 It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: Max.
General Analysis

ZenLib

Utils.cpp:677 Medium V560 CWE-570 A part of conditional expression is always false: Exponent == 0xFF.
General Analysis

ZenLib

Ztring.cpp:1638 Medium V547 CWE-571 Expression 'wc < 0x200000' is always true.
General Analysis

ZenLib

Ztring.cpp:1513 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'L'-'', 'L' '', 'L':'', 'L':'' in lines 1513, 1516, 1519, 1522.
General Analysis

ZenLib

ZtringList.cpp:49 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Max.
General Analysis

ZenLib

ZtringList.cpp:323 Low V688 The 'Max' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

ZenLib

ZtringList.cpp:77 Low V730 CWE-457 It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: Max.
General Analysis

zlib

adler32.c:75 High V595 CWE-476 The 'buf' pointer was utilized before it was verified against nullptr. Check lines: 75, 85.
General Analysis

zlib

adler32.c:158 Low V537 CWE-682 Consider reviewing the correctness of 'sum1' item's usage.
General Analysis

zlib

compress.c:49 Medium V547 CWE-570 Expression 'left > (uLong) max' is always false.
General Analysis

zlib

compress.c:53 Medium V547 CWE-570 Expression 'sourceLen > (uLong) max' is always false.
General Analysis

zlib

crc32.c:223 Low V779 CWE-561 Unreachable code detected. It is possible that an error is present.
General Analysis

zlib

deflate.c:601 High V640 CWE-483 The code's operational logic does not correspond with its formatting. The second statement will always be executed. It is possible that curly brackets are missing.
General Analysis

zlib

gzlib.c:406 Medium V1048 CWE-1164 The 'state->seek' variable was assigned the same value.
General Analysis

zlib

gzlib.c:278 Low V524 It is odd that the body of 'gzopen64' function is fully equivalent to the body of 'gzopen' function.
General Analysis

zlib

gzread.c:160 Medium V547 CWE-571 Expression 'strm->avail_in' is always true.
General Analysis

zlib

infback.c:460 Medium V1048 CWE-1164 The 'state->lencode' variable was assigned the same value.
General Analysis

zlib

infback.c:519 Medium V1048 CWE-1164 The 'state->mode' variable was assigned the same value.
General Analysis

zlib

infback.c:488 Low V1048 CWE-1164 The 'bits' variable was assigned the same value.
General Analysis

zlib

infback.c:488 Low V1048 CWE-1164 The 'hold' variable was assigned the same value.
General Analysis

zlib

inflate.c:1049 High V547 CWE-570 Expression 'state->mode == TYPE' is always false.
General Analysis

zlib

inflate.c:1501 Low V1004 CWE-628 The 'state->window' pointer was used unsafely after it was verified against nullptr. Check lines: 1480, 1501.
General Analysis

zlib

inflate.c:1048 Low V1048 CWE-1164 The 'bits' variable was assigned the same value.
General Analysis

zlib

inflate.c:1048 Low V1048 CWE-1164 The 'hold' variable was assigned the same value.
General Analysis

zlib

inflate.c:662 Low V769 CWE-119 The 'next' pointer in the 'next ++' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

zlib

trees.c:842 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '5', '5', '4' in lines 842, 843, 844.
General Analysis

zlib

uncompr.c:61 Medium V547 CWE-570 Expression 'left > (uLong) max' is always false.
General Analysis

zlib

uncompr.c:65 Medium V547 CWE-570 Expression 'len > (uLong) max' is always false.
General Analysis

zlib

uncompr.c:80 Medium V793 CWE-691 It is odd that the result of the 'left + stream.avail_out' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
Micro-optimizations

AsyncReader

asyncrdr.cpp:82 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'm_pReader->LoadType()' expression repeatedly.
Micro-optimizations

BaseClasses

ctlutil.h:189 High V832 It's better to use '= default;' syntax instead of empty constructor body.
Micro-optimizations

BaseClasses

dllentry.cpp:371 Medium V810 Decreased performance. The 'lstrlenW(szInfo)' function was called several times with identical arguments. The result should possibly be saved to a temporary variable, which then could be used while calling the 'StringCchPrintfW' function.
Micro-optimizations

BaseClasses

dllsetup.cpp:43 Medium V805 Decreased performance. It is inefficient to identify an empty string by using 'lstrlenW(str) == 0' construct. A more efficient way is to check: str[0] == '\0'.
Micro-optimizations

BaseClasses

dllsetup.cpp:111 Medium V813 Decreased performance. The 'clsServer' argument should probably be rendered as a constant reference.
Micro-optimizations

BaseClasses

dllsetup.cpp:220 Medium V813 Decreased performance. The 'clsServer' argument should probably be rendered as a constant reference.
Micro-optimizations

BaseClasses

pstream.cpp:31 High V832 It's better to use '= default;' syntax instead of empty destructor body.
Micro-optimizations

BaseClasses

renbase.cpp:2087 Medium V813 Decreased performance. The 'q' argument should probably be rendered as a constant reference.
Micro-optimizations

BaseClasses

schedule.h:43 High V832 It's better to use '= default;' syntax instead of empty constructor body.
Micro-optimizations

BaseClasses

transip.cpp:746 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'm_pTIPFilter->OutputPin()' expression repeatedly.
Micro-optimizations

BaseClasses

vtrans.cpp:441 Medium V813 Decreased performance. The 'q' argument should probably be rendered as a constant reference.
Micro-optimizations

BaseClasses

wxdebug.cpp:1245 High V832 It's better to use '= default;' syntax instead of empty destructor body.
Micro-optimizations

BaseClasses

wxdebug.cpp:736 Medium V810 Decreased performance. The 'lstrlenA(szInfoA)' function was called several times with identical arguments. The result should possibly be saved to a temporary variable, which then could be used while calling the 'StringCchVPrintfA' function.
Micro-optimizations

BaseClasses

wxdebug.cpp:861 Medium V810 Decreased performance. The 'lstrlenW(szInfo)' function was called several times with identical arguments. The result should possibly be saved to a temporary variable, which then could be used while calling the 'StringCchVPrintfW' function.
Micro-optimizations

BaseClasses

wxdebug.cpp:1153 Medium V810 Decreased performance. The 'lstrlenW(m_String)' function was called several times with identical arguments. The result should possibly be saved to a temporary variable, which then could be used while calling the 'StringCchPrintfW' function.
Micro-optimizations

BaseClasses

wxdebug.cpp:1158 Medium V810 Decreased performance. The 'lstrlenW(m_String)' function was called several times with identical arguments. The result should possibly be saved to a temporary variable, which then could be used while calling the 'StringCchPrintfW' function.
Micro-optimizations

BaseClasses

wxdebug.cpp:1163 Medium V810 Decreased performance. The 'lstrlenW(m_String)' function was called several times with identical arguments. The result should possibly be saved to a temporary variable, which then could be used while calling the 'StringCchPrintfW' function.
Micro-optimizations

BaseClasses

wxdebug.cpp:1166 Medium V810 Decreased performance. The 'lstrlenW(m_String)' function was called several times with identical arguments. The result should possibly be saved to a temporary variable, which then could be used while calling the 'StringCchPrintfW' function.
Micro-optimizations

Bento4

Ap4AtomSampleTable.cpp:70 Low V807 Decreased performance. Consider creating a reference to avoid using the 'm_SttsAtom->m_Entries[0]' expression repeatedly.
Micro-optimizations

Bento4

Ap4IsmaCryp.cpp:634 Medium V832 It's better to use '= default;' syntax instead of empty constructor body.
Micro-optimizations

Bento4

Ap4List.h:73 High V832 It's better to use '= default;' syntax instead of empty destructor body.
Micro-optimizations

Bento4

Ap4Processor.cpp:43 Low V802 On 64-bit platform, structure size can be reduced from 96 to 88 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

Bento4

Ap4Sample.h:43 Medium V802 On 64-bit platform, structure size can be reduced from 64 to 56 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

Bento4

Ap4Track.cpp:470 High V811 Decreased performance. Excessive type casting: string -> char * -> string. Consider inspecting the 'mdhd->GetLanguage().c_str()' expression.
Micro-optimizations

Bento4

Ap4AesBlockCipher.cpp:1827 High V832 It's better to use '= default;' syntax instead of empty destructor body.
Micro-optimizations

Detours

detours.cpp:1530 Medium V802 On 64-bit platform, structure size can be reduced from 48 to 40 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

LCDUI

LCDCollection.cpp:168 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'pObject->GetOrigin()' expression repeatedly.
Micro-optimizations

LCDUI

LCDPage.cpp:90 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'pObject->GetOrigin()' expression repeatedly.
Micro-optimizations

LCDUI

LCDPopup.cpp:339 Medium V805 Decreased performance. It is inefficient to identify an empty string by using 'wcslen(str) > 0' construct. A more efficient way is to check: str[0] != '\0'.
Micro-optimizations

LCDUI

LCDPopup.cpp:342 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'm_MessageText.GetVExtent()' expression repeatedly.
Micro-optimizations

LCDUI

LCDPopup.cpp:480 Low V807 Decreased performance. Consider creating a reference to avoid using the 'm_CancelBitmap.GetOrigin()' expression repeatedly.
Micro-optimizations

LCDUI

LCDStreamingText.cpp:696 Low V807 Decreased performance. Consider creating a reference to avoid using the 'pText->GetHExtent()' expression repeatedly.
Micro-optimizations

lcms2

lcms2.h:1008 Medium V802 On 64-bit platform, structure size can be reduced from 56 to 48 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

lcms2

lcms2.h:1162 Low V802 On 64-bit platform, structure size can be reduced from 112 to 104 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

lcms2

lcms2_plugin.h:386 Medium V802 On 64-bit platform, structure size can be reduced from 56 to 48 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

lcms2

cmsgmt.c:415 Low V802 On 64-bit platform, structure size can be reduced from 88 to 80 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

lcms2

lcms2_internal.h:852 Medium V802 On 64-bit platform, structure size can be reduced from 56 to 48 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

libflac

format.h:769 Medium V802 On 64-bit platform, structure size can be reduced from 56 to 48 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

libflac

ogg.h:42 Medium V802 On 64-bit platform, structure size can be reduced from 32 to 24 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

libflac

metadata_iterators.c:1610 Medium V813 Decreased performance. The 'callbacks' argument should probably be rendered as a constant pointer.
Micro-optimizations

libflac

metadata_iterators.c:1616 Medium V813 Decreased performance. The 'callbacks' argument should probably be rendered as a constant pointer.
Micro-optimizations

libflac

metadata_object.c:1350 Medium V801 Decreased performance. It is better to redefine the first function argument as a pointer. Consider replacing 'const .. entry' with 'const .. *entry'.
Micro-optimizations

libflac

metadata_object.c:1381 Medium V801 Decreased performance. It is better to redefine the first function argument as a pointer. Consider replacing 'const .. entry' with 'const .. *entry'.
Micro-optimizations

libflac

metadata_object.c:973 Medium V813 Decreased performance. The 'point' argument should probably be rendered as a constant pointer.
Micro-optimizations

libflac

metadata_object.c:982 Medium V813 Decreased performance. The 'point' argument should probably be rendered as a constant pointer.
Micro-optimizations

libflac

metadata_object.c:1229 Medium V813 Decreased performance. The 'entry' argument should probably be rendered as a constant pointer.
Micro-optimizations

libflac

metadata_object.c:1253 Medium V813 Decreased performance. The 'entry' argument should probably be rendered as a constant pointer.
Micro-optimizations

libflac

metadata_object.c:1519 Medium V813 Decreased performance. The 'indx' argument should probably be rendered as a constant pointer.
Micro-optimizations

libpng

png.h:534 Medium V802 On 64-bit platform, structure size can be reduced from 32 to 24 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

libpng

png.h:622 Medium V802 On 64-bit platform, structure size can be reduced from 32 to 24 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

libpng

png.h:755 Medium V802 On 64-bit platform, structure size can be reduced from 24 to 16 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

libpng

pngread.c:1284 Low V802 On 64-bit platform, structure size can be reduced from 80 to 72 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

libpng

pngwrite.c:1501 Low V802 On 64-bit platform, structure size can be reduced from 88 to 80 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

libpng

zlib.h:114 Low V802 On 64-bit platform, structure size can be reduced from 72 to 64 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

libsoxr

cr.h:13 Medium V802 On 64-bit platform, structure size can be reduced from 40 to 32 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

MediaInfo

File_Ac4.cpp:3383 High V823 Decreased performance. Object may be created in-place in the 'AudioSubstreams' container. Consider replacing methods: 'insert' -> 'emplace'.
Micro-optimizations

MediaInfo

File_Ac4.cpp:1108 Medium V803 Decreased performance. In case 'It' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MediaInfo

File_Ac4.cpp:1518 Medium V803 Decreased performance. In case 'Substream_Type_Item' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MediaInfo

File_Ac4.cpp:1533 Medium V803 Decreased performance. In case 'Substream_Info' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MediaInfo

File_Ac4.cpp:1611 Medium V803 Decreased performance. In case 'Substream_Type_Item' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MediaInfo

File_Ac4.cpp:2111 Medium V803 Decreased performance. In case 'Substream_Info' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MediaInfo

File_Ac4.cpp:1683 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Substream_Info->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Ac4.cpp:1395 Medium V823 Decreased performance. Object may be created in-place in the 'GroupPos' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Ac4.cpp:1396 Medium V823 Decreased performance. Object may be created in-place in the 'GroupNum' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Ac4.cpp:1440 Medium V823 Decreased performance. Object may be created in-place in the 'PresentationConfigs' container. Consider replacing methods: 'insert' -> 'emplace'.
Micro-optimizations

MediaInfo

File_Ac4.cpp:1523 Medium V823 Decreased performance. Object may be created in-place in the 'SubstreamPos' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Ac4.cpp:1524 Medium V823 Decreased performance. Object may be created in-place in the 'SubstreamNum' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Ac4.h:39 Medium V802 On 64-bit platform, structure size can be reduced from 20 to 16 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

MediaInfo

File_Adm.cpp:590 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:614 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:716 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:720 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:729 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:730 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:738 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:780 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:781 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:782 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:791 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:801 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:802 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:803 High V823 Decreased performance. Object may be created in-place in a container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:947 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Adm.cpp:991 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Adm.cpp:1010 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Adm.cpp:1052 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Adm.cpp:1063 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Adm.cpp:1072 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Adm.cpp:1080 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Adm.cpp:344 Medium V813 Decreased performance. The 'Summary' argument should probably be rendered as a constant reference.
Micro-optimizations

MediaInfo

File_Adm.cpp:367 Medium V823 Decreased performance. Object may be created in-place in the 'SubstreamPos' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:368 Medium V823 Decreased performance. Object may be created in-place in the 'SubstreamNum' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Adm.cpp:1021 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Adm.cpp:1032 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Dest.Items[k]' expression repeatedly.
Micro-optimizations

MediaInfo

File_ChannelGrouping.cpp:201 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Common->Channels[Channel_Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_ChannelGrouping.cpp:214 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Common->Channels[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_ChannelGrouping.cpp:322 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Common->Parsers[Pos]->Offsets_Buffer' expression repeatedly.
Micro-optimizations

MediaInfo

File_ChannelGrouping.cpp:220 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Common->Channels[Pos]->Offsets_Stream' expression repeatedly.
Micro-optimizations

MediaInfo

File_ChannelGrouping.cpp:222 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Common->Channels[Pos]->Offsets_Buffer' expression repeatedly.
Micro-optimizations

MediaInfo

File_ChannelGrouping.cpp:353 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Common->Parsers[0]' expression repeatedly.
Micro-optimizations

MediaInfo

File_ChannelSplitting.cpp:427 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'SplittedChannel->Parsers[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_ChannelSplitting.cpp:449 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'SplittedChannel->Parsers[0]' expression repeatedly.
Micro-optimizations

MediaInfo

File_ChannelSplitting.h:76 High V832 It's better to use '= default;' syntax instead of empty constructor body.
Micro-optimizations

MediaInfo

File_DolbyE.cpp:1293 High V808 'A' object of 'basic_string' type was created but was not utilized.
Micro-optimizations

MediaInfo

File_DolbyE.cpp:800 High V832 It's better to use '= default;' syntax instead of empty constructor body.
Micro-optimizations

MediaInfo

File_DolbyE.cpp:1906 Medium V808 'evolution_data_segment_id_Name' array was declared but was not utilized.
Micro-optimizations

MediaInfo

File_DolbyE.cpp:1155 Medium V823 Decreased performance. Object may be created in-place in the 'GroupPos[j]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_DolbyE.cpp:1156 Medium V823 Decreased performance. Object may be created in-place in the 'GroupNum[j]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_DolbyE.cpp:1855 Low V807 Decreased performance. Consider creating a reference to avoid using the 'description_text_Values[Program].Current' expression repeatedly.
Micro-optimizations

MediaInfo

File_Dsdiff.cpp:698 Medium V823 Decreased performance. Object may be created in-place in the 'ChannelLayout' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:472 High V823 Decreased performance. Object may be created in-place in the 'Data[Channels]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:482 High V823 Decreased performance. Object may be created in-place in the 'Data[ChannelPositions]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:483 High V823 Decreased performance. Object may be created in-place in the 'Data[ChannelPositions2]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:484 High V823 Decreased performance. Object may be created in-place in the 'Data[ChannelLayout]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:492 High V823 Decreased performance. Object may be created in-place in the 'Data[BitDepth]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:500 High V823 Decreased performance. Object may be created in-place in the 'Data[SamplingRate]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:560 High V823 Decreased performance. Object may be created in-place in the 'Data[ChannelPositions]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:561 High V823 Decreased performance. Object may be created in-place in the 'Data[ChannelPositions2]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:562 High V823 Decreased performance. Object may be created in-place in the 'Data[ChannelLayout]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:597 High V823 Decreased performance. Object may be created in-place in the 'Data[BitDepth]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:598 High V823 Decreased performance. Object may be created in-place in the 'Data[SamplingRate]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:601 High V823 Decreased performance. Object may be created in-place in the 'Data[Compression_Mode]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:468 Medium V823 Decreased performance. Object may be created in-place in the 'Data[Channels]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:488 Medium V823 Decreased performance. Object may be created in-place in the 'Data[BitDepth]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:496 Medium V823 Decreased performance. Object may be created in-place in the 'Data[SamplingRate]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:502 Medium V823 Decreased performance. Object may be created in-place in the 'Data[BitRate]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:521 Medium V823 Decreased performance. Object may be created in-place in the 'Data[Channels]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:559 Medium V823 Decreased performance. Object may be created in-place in the 'Data[Channels]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:571 Medium V823 Decreased performance. Object may be created in-place in the 'Data[BitDepth]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:572 Medium V823 Decreased performance. Object may be created in-place in the 'Data[SamplingRate]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:647 Medium V823 Decreased performance. Object may be created in-place in the 'Data[SamplingRate]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Dts.cpp:665 Medium V823 Decreased performance. Object may be created in-place in the 'Data[SamplingRate]' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mpegh3da.cpp:780 High V823 Decreased performance. Object may be created in-place in the 'Layout.SpeakersInfo' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mpegh3da.cpp:970 High V823 Decreased performance. Object may be created in-place in the 'Elements' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mpegh3da.cpp:974 High V823 Decreased performance. Object may be created in-place in the 'Elements' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mpegh3da.cpp:977 High V823 Decreased performance. Object may be created in-place in the 'Elements' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mpegh3da.cpp:981 High V823 Decreased performance. Object may be created in-place in the 'Elements' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mpegh3da.cpp:1347 Medium V813 Decreased performance. The 'Layout' argument should probably be rendered as a constant reference.
Micro-optimizations

MediaInfo

File_Mpegh3da.cpp:477 Medium V823 Decreased performance. Object may be created in-place in the 'GroupPos' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mpegh3da.cpp:478 Medium V823 Decreased performance. Object may be created in-place in the 'GroupNum' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mpegh3da.cpp:575 Medium V823 Decreased performance. Object may be created in-place in the 'GroupPos' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mpegh3da.cpp:576 Medium V823 Decreased performance. Object may be created in-place in the 'GroupNum' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mpegh3da.cpp:1674 Low V807 Decreased performance. Consider creating a reference to avoid using the 'P.Conditions[Pos2]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpegh3da.cpp:2154 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Layout.SpeakersInfo[i]' expression repeatedly.
Micro-optimizations

MediaInfo

File_SmpteSt0337.cpp:244 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'FrameSizes.begin()' expression repeatedly.
Micro-optimizations

MediaInfo

File_Usac.cpp:1003 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Usac.cpp:204 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Item->second' expression repeatedly.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:329 High V823 Decreased performance. Object may be created in-place in the '(* Stream)[KindOfStream]' container. Consider replacing methods: 'insert' -> 'emplace'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:330 High V823 Decreased performance. Object may be created in-place in the '(* Stream_More)[KindOfStream]' container. Consider replacing methods: 'insert' -> 'emplace'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:1101 High V823 Decreased performance. Object may be created in-place in the 'Language2' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:1102 High V823 Decreased performance. Object may be created in-place in the 'Language4' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:1109 High V823 Decreased performance. Object may be created in-place in the 'Language3' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:1113 High V823 Decreased performance. Object may be created in-place in the 'Language1' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:1114 High V823 Decreased performance. Object may be created in-place in the 'Language2' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:1115 High V823 Decreased performance. Object may be created in-place in the 'Language3' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:1116 High V823 Decreased performance. Object may be created in-place in the 'Language4' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:1753 High V823 Decreased performance. Object may be created in-place in the 'MergedStreams_Last' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:2495 Medium V820 The 'DurationString3' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:2613 Medium V823 Decreased performance. Object may be created in-place in the 'List2' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:2653 Medium V823 Decreased performance. Object may be created in-place in the 'List2' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:2662 Medium V823 Decreased performance. Object may be created in-place in the 'List2' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:2668 Medium V823 Decreased performance. Object may be created in-place in the 'List2' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:2674 Medium V823 Decreased performance. Object may be created in-place in the 'List2' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:2677 Medium V823 Decreased performance. Object may be created in-place in the 'List2' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:2710 Medium V823 Decreased performance. Object may be created in-place in the 'List2' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:411 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:1431 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:1467 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:1588 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:573 Low V821 Decreased performance. The 'SourceValue' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File__Analyze_Streams.cpp:1875 Low V821 Decreased performance. The 'PixelAspectRatio_Original' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File__Analyze_Streams_Finish.cpp:1036 Medium V820 The 'NextID' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File__Analyze_Streams_Finish.cpp:1044 Medium V820 The 'NextID' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File__Analyze_Streams_Finish.cpp:237 Low V821 Decreased performance. The 'FileToTest_Name_After' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File__Analyze_Streams_Finish.cpp:827 Low V821 Decreased performance. The 'Commercial' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File__Base.cpp:137 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Tiff.cpp:697 High V823 Decreased performance. Object may be created in-place in the 'Info' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Tiff.cpp:592 Medium V823 Decreased performance. Object may be created in-place in the 'Info' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Tiff.cpp:629 Medium V823 Decreased performance. Object may be created in-place in the 'Info' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Tiff.cpp:655 Medium V823 Decreased performance. Object may be created in-place in the 'Info' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Tiff.cpp:695 Medium V823 Decreased performance. Object may be created in-place in the 'Info' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Tiff.cpp:278 Low V807 Decreased performance. Consider creating a reference to avoid using the 'IfdItems.begin()->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Tiff.cpp:376 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Info->second' expression repeatedly.
Micro-optimizations

MediaInfo

MediaInfoList_Internal.cpp:243 Medium V810 Decreased performance. The 'Get' function was called several times with identical arguments. The result should possibly be saved to a temporary variable, which then could be used while calling the 'RemoveFilesFromList' function.
Micro-optimizations

MediaInfo

MediaInfo_Config.cpp:2859 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. Value' with 'const .. &Value'.
Micro-optimizations

MediaInfo

MediaInfo_Config.cpp:1805 Medium V803 Decreased performance. In case 'Format' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MediaInfo

MediaInfo_Config.cpp:1827 Medium V803 Decreased performance. In case 'Extension' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MediaInfo

MediaInfo_Config.cpp:3461 Medium V813 Decreased performance. The 'Value' argument should probably be rendered as a constant reference.
Micro-optimizations

MediaInfo

MediaInfo_Config.cpp:3479 Medium V813 Decreased performance. The 'Value' argument should probably be rendered as a constant reference.
Micro-optimizations

MediaInfo

MediaInfo_Config.cpp:677 Medium V820 The 'FromFile' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

MediaInfo_Config.cpp:3470 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

MediaInfo_Config.cpp:3482 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

MediaInfo_Config.cpp:3351 Medium V823 Decreased performance. Object may be created in-place in the 'List' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

MediaInfo_Config.h:82 Medium V832 It's better to use '= default;' syntax instead of empty constructor body.
Micro-optimizations

MediaInfo

MediaInfo_Config_MediaInfo.cpp:1892 Medium V813 Decreased performance. The 'NewValue' argument should probably be rendered as a constant reference.
Micro-optimizations

MediaInfo

MediaInfo_Config_MediaInfo.cpp:1895 Medium V820 The 'NewValue' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

MediaInfo_Config_PerPackage.cpp:42 Medium V832 It's better to use '= default;' syntax instead of empty destructor body.
Micro-optimizations

MediaInfo

MediaInfo_Inform.cpp:983 Medium V820 The 'Crochets' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

MediaInfo_Internal.cpp:1989 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

MediaInfo_Internal.cpp:1121 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Config.File_Names[0]' expression repeatedly.
Micro-optimizations

MediaInfo

MediaInfo_Internal.cpp:2019 Low V821 Decreased performance. The 'ToReturn' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

MediaInfo_Internal.cpp:2154 Low V821 Decreased performance. The 'InformZtring' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File_Ancillary.cpp:350 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Stream->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_DashMpd.cpp:148 Medium V818 It is more efficient to use an initialization list 'BaseURL(BaseURL), SourceDir(SourceDir)' rather than an assignment operator.
Micro-optimizations

MediaInfo

File_Flv.cpp:493 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Stream[Stream_Audio].Parser' expression repeatedly.
Micro-optimizations

MediaInfo

File_Flv.cpp:577 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Stream[StreamKind].Durations' expression repeatedly.
Micro-optimizations

MediaInfo

File_Flv.cpp:1174 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Stream[Stream_Video].Parser' expression repeatedly.
Micro-optimizations

MediaInfo

File_Flv.cpp:1257 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Stream[Stream_Video].Parser' expression repeatedly.
Micro-optimizations

MediaInfo

File_Flv.cpp:1369 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Stream[Stream_Audio].Parser' expression repeatedly.
Micro-optimizations

MediaInfo

File_Gxf.cpp:283 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Streams[StreamID].Parsers[0]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Gxf.cpp:1443 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[TrackNumber].Parsers' expression repeatedly.
Micro-optimizations

MediaInfo

File_Gxf.cpp:266 Medium V820 The 'Title' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Gxf.cpp:352 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Temp.Parsers[0]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Gxf.cpp:1455 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Streams[TrackNumber].Parsers[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Lxf.cpp:1417 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Audios[Pos].Parsers' expression repeatedly.
Micro-optimizations

MediaInfo

File_Lxf.cpp:1547 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Audios[Pos].Parsers[Pos2]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Lxf.cpp:1812 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Videos[2].Parsers' expression repeatedly.
Micro-optimizations

MediaInfo

File_Lxf.cpp:1547 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Audios[Pos].Parsers[Pos2]->FrameInfo' expression repeatedly.
Micro-optimizations

MediaInfo

File_Lxf.cpp:1844 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Videos[2].Parsers[Pos2]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MiXml.cpp:493 Low V821 Decreased performance. The 'MajorBrand' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File_Mk.cpp:1318 High V811 Decreased performance. Excessive type casting: string -> char * -> string. Consider inspecting the expression.
Micro-optimizations

MediaInfo

File_Mk.cpp:497 High V826 Consider replacing the 'BitPositions' std::vector with std::array. The size is known at compile time.
Micro-optimizations

MediaInfo

File_Mk.cpp:1347 Medium V803 Decreased performance. In case 'streamItem' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MediaInfo

File_Mk.cpp:779 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mk.cpp:795 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Item->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mk.cpp:1055 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.TimeCodes' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mk.cpp:1307 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Mk.cpp:2603 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mk.cpp:2556 Medium V820 The 'Data' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mk.cpp:2567 Medium V820 The 'Data' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mk.cpp:3388 Medium V820 The 'Data' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mk.cpp:1169 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Temp->second.Parser' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mk.cpp:2553 Low V821 Decreased performance. The 'Data' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File_Mk.cpp:2564 Low V821 Decreased performance. The 'Data' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File_Mk.cpp:3017 Low V821 Decreased performance. The 'Data' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File_Mk.cpp:3059 Low V821 Decreased performance. The 'Data' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File_Mk.cpp:3072 Low V821 Decreased performance. The 'Data' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File_Mk.cpp:3383 Low V821 Decreased performance. The 'Data' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File_Mk.cpp:3804 Low V821 Decreased performance. The 'Data' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:1382 Medium V803 Decreased performance. In case 'ES_ID_Info' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:497 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:500 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[* TrackID].SubtitleFor' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:791 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.stts[stts_Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:826 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Temp->second.Parsers[0]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:2378 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:2399 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.stsc[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:2465 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.stsz' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:3076 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Strea->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:3142 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'StreamTemp->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:430 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Stream->second.Parsers[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:430 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Stream->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:566 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.ForcedFor' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:579 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.Forced' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:592 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.FallBackTo' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:605 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.FallBackFrom' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:618 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.Subtitle' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:647 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.CC' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:660 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.CCFor' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:673 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.Chapters' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:686 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.Meta' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:717 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.ChaptersFor' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:738 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.edts[Pos - 1]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:738 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.edts[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:839 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.edts[0]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:925 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Target->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:995 Low V807 Decreased performance. Consider creating a reference to avoid using the 'NextStream->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:1235 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Temp->second.MI' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:1278 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Temp->second.MI->Info' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:2423 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.Parsers' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4.cpp:2462 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.stco' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4_Elements.cpp:4767 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[moov_trak_tkhd_TrackID].stss' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4_Elements.cpp:2055 Medium V820 The 'mdat_Pos_New' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mpeg4_Elements.cpp:4227 Medium V820 The 'Path' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mpeg4_Elements.cpp:2073 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Stream_Temp.Parsers[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4_Elements.cpp:7266 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[moov_trak_tkhd_TrackID].Parsers' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg4_Elements.cpp:7588 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[moov_trak_tkhd_TrackID].stss' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:300 High V826 Consider replacing the 'video_stream_PTS_Between' std::vector with std::deque. Overall efficiency of operations will increase.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:648 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Temp.Parsers[0]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:1557 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[stream_id].TimeStamp_Start' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:1842 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[stream_id].TimeStamp_Start' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:2729 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:3322 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[stream_id].Parsers' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:3430 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[stream_id].Parsers' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:3786 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:4056 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Temp.Parsers[0]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:342 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Temp.Parsers[0]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:453 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Temp.Parsers[0]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:1545 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[stream_id].TimeStamp_End.PTS' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:1656 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[stream_id].TimeStamp_End.DTS' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:1830 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[stream_id].TimeStamp_End.PTS' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:2007 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[stream_id].TimeStamp_End.DTS' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:2303 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[StreamID].TimeStamp_End.PTS' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:2309 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[StreamID].TimeStamp_End.DTS' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:2315 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:2321 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:2327 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:2333 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:2651 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Parser.Complete_Stream->Streams[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:3970 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[stream_id].TimeStamp_End.DTS' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegPs.cpp:4037 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Temp.Parsers[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:395 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[* StreamID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:471 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Program->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:479 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[elementary_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:507 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Teletext->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:592 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1109 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Event->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1221 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Program->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1404 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[StreamID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1611 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Table_ID_Extension->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1936 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[StreamID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:2021 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[* StreamID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:2673 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[pid]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:2871 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[pid]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:3042 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'IOD_ES->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:3141 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[pid]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:3227 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[pid]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:3290 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:3350 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[StreamID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:381 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:446 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Transport_Stream->second.Infos' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:456 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Source->second.texts' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:501 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:628 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Program->second.Infos' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:631 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Program->second.ExtraInfos_Content' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:634 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Program->second.ExtraInfos_Option' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:761 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:916 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Info->first' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1068 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Teletext->second.Infos' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1136 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1148 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Program->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1164 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Source->second.texts' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1230 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Program->second.EPGs' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1649 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[0x0012]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1655 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[0x0014]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1660 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[0x1FFB]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1709 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[pid]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1800 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[pid]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1889 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[0x0002]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:1892 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[0x0003]' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:2920 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:2973 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:3064 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[pid]->Parser' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:3141 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[pid]->Parser' expression repeatedly.
Micro-optimizations

MediaInfo

File_MpegTs.cpp:3453 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[pid]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:3080 Medium V803 Decreased performance. In case 'Info' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:1621 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[elementary_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:1652 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[elementary_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:1677 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[elementary_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:2462 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:2546 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[elementary_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:2733 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[elementary_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:2941 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[elementary_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:3083 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Info->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:2225 Medium V820 The 'network_name' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:1770 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[CA_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:2201 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[elementary_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:2817 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[elementary_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:3078 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[elementary_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Descriptors.cpp:3210 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[elementary_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:1779 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[table_type_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:1894 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:1902 Medium V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:2414 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[elementary_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:2522 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[elementary_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:1133 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:1356 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[PCR_PID]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:1392 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[0x0012]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:1398 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[0x0014]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:1403 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Complete_Stream->Streams[0x1FFB]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:2021 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:2430 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:2443 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:2467 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:2473 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:2510 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Mpeg_Psi.cpp:2607 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3161 High V823 Decreased performance. Object may be created in-place in the 'MergedStreams_Last' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3184 High V823 Decreased performance. Object may be created in-place in the 'MergedStreams_Last' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17741 High V823 Decreased performance. Object may be created in-place in the 'List' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17743 High V823 Decreased performance. Object may be created in-place in the 'List' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17745 High V823 Decreased performance. Object may be created in-place in the 'List' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:607 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. OperationalPattern' with 'const .. &OperationalPattern'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:640 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. EssenceElement' with 'const .. &EssenceElement'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:745 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. EssenceContainer' with 'const .. &EssenceContainer'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:947 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. EssenceCompression' with 'const .. &EssenceCompression'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:1298 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. DataDefinition' with 'const .. &DataDefinition'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:1369 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. ColorPrimaries' with 'const .. &ColorPrimaries'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:1387 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. TransferCharacteristic' with 'const .. &TransferCharacteristic'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:1410 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. CodingEquations' with 'const .. &CodingEquations'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:1471 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. ChannelLayout' with 'const .. &ChannelLayout'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2789 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. PrefaceUID' with 'const .. &PrefaceUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2807 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. PrefaceUID' with 'const .. &PrefaceUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2818 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. ContentStorageUID' with 'const .. &ContentStorageUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2829 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. ContentStorageUID' with 'const .. &ContentStorageUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2852 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. ContentStorageUID' with 'const .. &ContentStorageUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2863 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. PackageUID' with 'const .. &PackageUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2876 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. PackageUID' with 'const .. &PackageUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2887 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. PackageUID' with 'const .. &PackageUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2898 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. TrackUID' with 'const .. &TrackUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2917 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. TrackUID' with 'const .. &TrackUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2931 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. TrackUID' with 'const .. &TrackUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3410 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. DescriptorUID' with 'const .. &DescriptorUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3410 Medium V801 Decreased performance. It is better to redefine the second function argument as a reference. Consider replacing 'const .. PackageUID' with 'const .. &PackageUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3991 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. DescriptorUID' with 'const .. &DescriptorUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3991 Medium V801 Decreased performance. It is better to redefine the second function argument as a reference. Consider replacing 'const .. LocatorUID' with 'const .. &LocatorUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:4079 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. ComponentUID' with 'const .. &ComponentUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:4172 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. ComponentUID' with 'const .. &ComponentUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:4239 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. ComponentUID' with 'const .. &ComponentUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:4439 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. IdentificationUID' with 'const .. &IdentificationUID'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:4195 Medium V803 Decreased performance. In case 'TC' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8801 Medium V803 Decreased performance. In case 'TimeCode_Current' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8812 Medium V803 Decreased performance. In case 'SDTI_TimeCode_StartTimecode' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2432 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Essence->second.Parsers' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2796 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Preface->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2866 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Package->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2901 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Track->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2920 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Track->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2934 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Track->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2998 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3095 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'NextStream->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3360 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'SourcePackage->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3480 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Track->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3607 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Essence->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3623 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second.Infos' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3899 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'SubDescriptor->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3923 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'SubDescriptor->second.Infos' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3965 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Info->first' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:4002 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Locator->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:4122 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Essence->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:4179 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Component->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:4182 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Component2->second.MxfTimeCode' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:4353 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'DMSegment->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:4448 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Identification->second.CompanyName' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:4978 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Essence->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:6280 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:6314 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Essence->second.Parsers' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:6789 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:7124 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:7209 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:7330 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:7476 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:7638 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:7670 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:7694 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:7753 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:7776 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:7799 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:7948 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8004 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8060 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8098 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8153 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8257 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8962 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Primer_Value->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:16480 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second.EssenceCompression' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:16642 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second.EssenceContainer' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17286 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Essence->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17322 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17363 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17368 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second.Infos' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17426 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17445 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second.Infos' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17710 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17797 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Locator->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3746 Medium V820 The 'Format_FromCompression' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8338 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8350 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8402 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8414 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8426 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8438 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8450 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8462 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8474 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:8486 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:9464 Medium V820 The 'Infos_Temp' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:10146 Medium V820 The 'Data' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:10187 Medium V820 The 'Data' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:10200 Medium V820 The 'Data' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:10224 Medium V820 The 'Version' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:10237 Medium V820 The 'Data' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:10284 Medium V820 The 'Version' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:10298 Medium V820 The 'Data' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:10655 Medium V820 The 'Data' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:10969 Medium V820 The 'Data' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:11619 Medium V820 The 'Data' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:12865 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:12878 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:12891 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:12904 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:12930 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:12968 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13022 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13035 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13048 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13074 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13087 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13100 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13113 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13193 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13206 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13219 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13232 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13244 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13270 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13387 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13465 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13478 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:13491 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Mxf.cpp:6184 Medium V823 Decreased performance. Object may be created in-place in the 'Essences' container. Consider replacing methods: 'insert' -> 'emplace'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:9963 Medium V823 Decreased performance. Object may be created in-place in the 'MasteringDisplay_ColorPrimaries' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:9964 Medium V823 Decreased performance. Object may be created in-place in the 'MasteringDisplay_ColorPrimaries' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:9981 Medium V823 Decreased performance. Object may be created in-place in the 'MasteringDisplay_WhitePointChromaticity' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:9982 Medium V823 Decreased performance. Object may be created in-place in the 'MasteringDisplay_WhitePointChromaticity' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2837 Low V807 Decreased performance. Consider creating a reference to avoid using the 'ContentStorage->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2882 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Package->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2890 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Package->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2955 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Essence->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:2970 Low V807 Decreased performance. Consider creating a reference to avoid using the 'DMSegment->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3074 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Essence1->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3417 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:4295 Low V807 Decreased performance. Consider creating a reference to avoid using the 'AS11->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:6196 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Essence->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:6201 Low V807 Decreased performance. Consider creating a reference to avoid using the 'SingleDescriptor_Temp->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:6214 Low V807 Decreased performance. Consider creating a reference to avoid using the 'SingleDescriptor->second.Infos' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:6261 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Track->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:6466 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Essence->second.FrameInfo' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:6558 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Essence->second.Parsers[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:6586 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Essence->second.Parsers[0]->FrameInfo' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:16566 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:16677 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17532 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17678 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17814 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Descriptor->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:17825 Low V807 Decreased performance. Consider creating a reference to avoid using the 'DMSegment->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Mxf.cpp:3353 Low V821 Decreased performance. The 'Parser' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File_Mxf.cpp:10215 Low V821 Decreased performance. The 'Version' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File_Mxf.cpp:10275 Low V821 Decreased performance. The 'Version' variable can be constructed in a lower level scope.
Micro-optimizations

MediaInfo

File_Mxf.h:950 Medium V832 It's better to use '= default;' syntax instead of empty destructor body.
Micro-optimizations

MediaInfo

File_Mxf.h:1013 Medium V832 It's better to use '= default;' syntax instead of empty destructor body.
Micro-optimizations

MediaInfo

File_Mxf.h:1025 Medium V832 It's better to use '= default;' syntax instead of empty constructor body.
Micro-optimizations

MediaInfo

File_Mxf.h:1029 Medium V832 It's better to use '= default;' syntax instead of empty destructor body.
Micro-optimizations

MediaInfo

File_Mxf.h:1132 Medium V832 It's better to use '= default;' syntax instead of empty destructor body.
Micro-optimizations

MediaInfo

File_Ogg.cpp:69 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Stream_Temp->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Ogg.cpp:113 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Stream_Temp->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Ogg.h:62 Medium V802 On 64-bit platform, structure size can be reduced from 48 to 40 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

MediaInfo

File_Riff.cpp:222 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second.Parsers' expression repeatedly.
Micro-optimizations

MediaInfo

File_Riff.cpp:242 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Temp->second.Parsers[0]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Riff.cpp:536 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Stream_Structure_Temp->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Riff.cpp:829 Low V807 Decreased performance. Consider creating a reference to avoid using the 'StreamItem->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Riff_Elements.cpp:1447 High V829 Lifetime of the heap-allocated variable 'MI' is limited to the current function's scope. Consider allocating it on the stack instead.
Micro-optimizations

MediaInfo

File_Riff_Elements.cpp:2439 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Riff_Elements.cpp:2829 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Riff_Elements.cpp:2842 Medium V820 The 'Value' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Riff_Elements.cpp:3804 Medium V820 The 'Modified' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Riff_Elements.cpp:3825 Medium V820 The 'Modified' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Riff_Elements.cpp:2591 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'StreamItem.Parsers[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Riff_Elements.cpp:2738 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Wm.cpp:101 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Wm_Elements.cpp:1373 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Temp->second' expression repeatedly.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:1339 High V823 Decreased performance. Object may be created in-place in the 'Format_Profiles_FromPlaylist' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:425 Medium V807 Decreased performance. Consider creating a pointer to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:960 Medium V807 Decreased performance. Consider creating a pointer to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:975 Medium V807 Decreased performance. Consider creating a pointer to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:1177 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Sequences[Sequences_Current]->MI' expression repeatedly.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:1290 Medium V807 Decreased performance. Consider creating a pointer to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:684 Medium V820 The 'AbsoluteNames' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:1474 Medium V820 The 'ID_Base' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:1340 Medium V823 Decreased performance. Object may be created in-place in the 'Format_Profiles_FromContainer' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:1341 Medium V823 Decreased performance. Object may be created in-place in the 'Format_Profiles_FromStream' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:961 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:975 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Sequences[Sequences_Current]->MI->Config' expression repeatedly.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:1250 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Sequences[Sequences_Current]->MI' expression repeatedly.
Micro-optimizations

MediaInfo

File__ReferenceFilesHelper.cpp:1502 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Sequences[Sequences_Current]->MI->Info' expression repeatedly.
Micro-optimizations

MediaInfo

OutputHelpers.cpp:261 Medium V807 Decreased performance. Consider creating a pointer to avoid using the 'Cur_Node.Childs[Pos2]' expression repeatedly.
Micro-optimizations

MediaInfo

OutputHelpers.cpp:128 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Cur_Node.Attrs[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

OutputHelpers.cpp:214 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Cur_Node.Attrs[Pos].first' expression repeatedly.
Micro-optimizations

MediaInfo

OutputHelpers.h:204 High V823 Decreased performance. Object may be created in-place in the 'Attrs' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

OutputHelpers.h:208 High V823 Decreased performance. Object may be created in-place in the 'Attrs' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

OutputHelpers.h:212 High V823 Decreased performance. Object may be created in-place in the 'Attrs' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

OutputHelpers.h:40 Medium V832 It's better to use '= default;' syntax instead of empty constructor body.
Micro-optimizations

MediaInfo

File_Cdp.cpp:609 Medium V820 The 'language' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Cdp.cpp:158 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Streams[Pos]->Parser' expression repeatedly.
Micro-optimizations

MediaInfo

File_Cdp.cpp:496 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[Parser_Pos]->Parser->FrameInfo' expression repeatedly.
Micro-optimizations

MediaInfo

File_DtvccTransport.cpp:117 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Streams[Pos]->Parser' expression repeatedly.
Micro-optimizations

MediaInfo

File_DtvccTransport.cpp:274 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[Parser_Pos]->Parser->FrameInfo' expression repeatedly.
Micro-optimizations

MediaInfo

File_DvbSubtitle.cpp:99 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'region->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_DvbSubtitle.cpp:337 Low V807 Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
Micro-optimizations

MediaInfo

File_Eia708.cpp:215 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[service_number]->Minimal' expression repeatedly.
Micro-optimizations

MediaInfo

File_Eia708.cpp:691 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[service_number]->Minimal' expression repeatedly.
Micro-optimizations

MediaInfo

File_Eia708.cpp:723 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[service_number]->Minimal' expression repeatedly.
Micro-optimizations

MediaInfo

File_Eia708.cpp:773 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[service_number]->Minimal' expression repeatedly.
Micro-optimizations

MediaInfo

File_Eia708.cpp:809 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[service_number]->Minimal' expression repeatedly.
Micro-optimizations

MediaInfo

File_Eia708.cpp:913 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[service_number]->Minimal' expression repeatedly.
Micro-optimizations

MediaInfo

File_Eia708.cpp:978 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[service_number]->Minimal' expression repeatedly.
Micro-optimizations

MediaInfo

File_Eia708.cpp:1039 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[service_number]->Minimal' expression repeatedly.
Micro-optimizations

MediaInfo

File_Eia708.cpp:1114 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[service_number]->Minimal' expression repeatedly.
Micro-optimizations

MediaInfo

File_Eia708.cpp:1461 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[service_number]->Minimal' expression repeatedly.
Micro-optimizations

MediaInfo

File_Scte20.cpp:116 Low V807 Decreased performance. Consider creating a pointer to avoid using the 'Streams[Pos]->Parser' expression repeatedly.
Micro-optimizations

MediaInfo

File_Scte20.cpp:247 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Streams[cc_type]->Parser->FrameInfo' expression repeatedly.
Micro-optimizations

MediaInfo

File_Sdp.cpp:73 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Stream->second' expression repeatedly.
Micro-optimizations

MediaInfo

File_Teletext.cpp:105 Medium V807 Decreased performance. Consider creating a reference to avoid using the 'Teletext->second.Infos' expression repeatedly.
Micro-optimizations

MediaInfo

File_Av1.cpp:639 High V823 Decreased performance. Object may be created in-place in the 'GOPs' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Av1.cpp:595 High V826 Consider replacing the 'GOPs' std::vector with std::deque. Overall efficiency of operations will increase.
Micro-optimizations

MediaInfo

File_Avc.cpp:4240 High V823 Decreased performance. Object may be created in-place in the 'SchedSel' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Avc.cpp:4562 High V823 Decreased performance. Object may be created in-place in the 'GOPs' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Avc.cpp:4518 High V826 Consider replacing the 'GOPs' std::vector with std::deque. Overall efficiency of operations will increase.
Micro-optimizations

MediaInfo

File_Avc.cpp:739 Low V807 Decreased performance. Consider creating a reference to avoid using the 'NAL->SchedSel[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_Avc.cpp:757 Low V807 Decreased performance. Consider creating a reference to avoid using the 'VCL->SchedSel[Pos]' expression repeatedly.
Micro-optimizations

MediaInfo

File_AvsV.cpp:563 Medium V820 The 'Temp' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

MediaInfo

File_Ffv1.cpp:766 High V826 Consider replacing the 'Slices_BufferSizes' std::vector with std::deque. Overall efficiency of operations will increase.
Micro-optimizations

MediaInfo

File_Hevc.cpp:3460 High V823 Decreased performance. Object may be created in-place in the 'SchedSel' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Hevc.h:64 High V832 It's better to use '= default;' syntax instead of empty destructor body.
Micro-optimizations

MediaInfo

File_Hevc.h:307 High V832 It's better to use '= default;' syntax instead of empty destructor body.
Micro-optimizations

MediaInfo

File_Hevc.h:80 Medium V802 On 64-bit platform, structure size can be reduced from 64 to 56 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

MediaInfo

File_Mpegv.cpp:1112 High V823 Decreased performance. Object may be created in-place in the 'Text_Positions' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mpegv.cpp:1115 High V823 Decreased performance. Object may be created in-place in the 'Text_Positions' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mpegv.cpp:1121 High V823 Decreased performance. Object may be created in-place in the 'Text_Positions' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

File_Mpegv.cpp:1130 High V823 Decreased performance. Object may be created in-place in the 'Text_Positions' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
Micro-optimizations

MediaInfo

BitStream_Fast.h:39 High V832 It's better to use '= default;' syntax instead of empty destructor body.
Micro-optimizations

MediaInfo

Ztring.h:311 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. I' with 'const .. &I'.
Micro-optimizations

mfx_dispatch

mfxcommon.h:128 Low V802 On 64-bit platform, structure size can be reduced from 80 to 72 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

mfx_dispatch

mfxenc.h:31 Low V802 On 64-bit platform, structure size can be reduced from 184 to 168 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

mfx_dispatch

mfxpak.h:31 Low V802 On 64-bit platform, structure size can be reduced from 136 to 112 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

mfx_dispatch

mfxstructures.h:53 Low V802 On 64-bit platform, structure size can be reduced from 80 to 72 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

mfx_dispatch

mfxstructures.h:673 Low V802 On 64-bit platform, structure size can be reduced from 68 to 64 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

mfx_dispatch

mfxstructures.h:1035 Low V802 On 64-bit platform, structure size can be reduced from 88 to 80 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

mfx_dispatch

main.cpp:521 Medium V803 Decreased performance. In case 'it' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

mfx_dispatch

main.cpp:681 Medium V803 Decreased performance. In case 'i' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

mfx_dispatch

main.cpp:712 Medium V803 Decreased performance. In case 'i' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

mfx_dispatch

main.cpp:836 Medium V803 Decreased performance. In case 'i' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

mfx_dispatch

mfx_driver_store_loader.cpp:79 High V832 It's better to use '= default;' syntax instead of empty destructor body.
Micro-optimizations

mfx_dispatch

mfx_driver_store_loader.cpp:61 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. guid' with 'const .. &guid'.
Micro-optimizations

mfx_dispatch

mfx_driver_store_loader.cpp:173 Medium V804 Decreased performance. The 'wcslen' function is called twice in the specified expression to calculate length of the same string.
Micro-optimizations

mfx_dispatch

mfx_load_plugin.cpp:415 Medium V803 Decreased performance. In case 'i' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

mfx_dispatch

mfx_load_plugin.cpp:431 Medium V803 Decreased performance. In case 'i' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

mfx_dispatch

mfx_load_plugin.cpp:75 Medium V813 Decreased performance. The 'uid' argument should probably be rendered as a constant reference.
Micro-optimizations

mfx_dispatch

mfx_vector.h:138 Medium V803 Decreased performance. In case 'beg_iter' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
Micro-optimizations

MPCVideoDec

avcodec.h:2261 Low V802 On 64-bit platform, structure size can be reduced from 104 to 96 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

MPCVideoDec

codec_par.h:52 Low V802 On 64-bit platform, structure size can be reduced from 144 to 136 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

MPCVideoDec

h2645_parse.h:34 Low V802 On 64-bit platform, structure size can be reduced from 112 to 104 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

MPCVideoDec

h264_sei.h:111 Medium V802 On 64-bit platform, structure size can be reduced from 24 to 16 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

MPCVideoDec

packet.h:350 Low V802 On 64-bit platform, structure size can be reduced from 104 to 96 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

openjpeg

dwt.c:3012 Medium V801 Decreased performance. It is better to redefine the fourth function argument as a pointer. Consider replacing 'const .. c' with 'const .. *c'.
Micro-optimizations

openjpeg

j2k.c:1737 Medium V805 Decreased performance. It is inefficient to identify an empty string by using 'strlen(str) > 0' construct. A more efficient way is to check: str[0] != '\0'.
Micro-optimizations

openjpeg

j2k.h:210 Medium V802 On 64-bit platform, structure size can be reduced from 32 to 24 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

openjpeg

j2k.h:499 Low V802 On 64-bit platform, structure size can be reduced from 80 to 72 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

openjpeg

jp2.h:128 Medium V802 On 64-bit platform, structure size can be reduced from 40 to 32 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

openjpeg

openjpeg.h:671 Medium V802 On 64-bit platform, structure size can be reduced from 64 to 56 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

openjpeg

openjpeg.h:776 Medium V802 On 64-bit platform, structure size can be reduced from 24 to 16 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

openjpeg

openjpeg.h:845 Low V802 On 64-bit platform, structure size can be reduced from 112 to 104 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

openjpeg

tcd.h:157 Medium V802 On 64-bit platform, structure size can be reduced from 48 to 40 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

openjpeg

tcd.h:189 Low V802 On 64-bit platform, structure size can be reduced from 112 to 96 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

openjpeg

tgt.h:67 Medium V802 On 64-bit platform, structure size can be reduced from 32 to 24 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

openjpeg

thread.c:605 Low V802 On 64-bit platform, structure size can be reduced from 88 to 72 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

speex

speex_callbacks.h:91 Medium V802 On 64-bit platform, structure size can be reduced from 40 to 32 bytes by rearranging the fields according to their sizes in decreasing order.
Micro-optimizations

ZenLib

Html_Handler.cpp:37 Medium V832 It's better to use '= default;' syntax instead of empty constructor body.
Micro-optimizations

ZenLib

Html_Handler.h:45 Medium V832 It's better to use '= default;' syntax instead of empty constructor body.
Micro-optimizations

ZenLib

Http_Cookies.cpp:41 Medium V832 It's better to use '= default;' syntax instead of empty constructor body.
Micro-optimizations

ZenLib

Http_Cookies.cpp:85 Low V807 Decreased performance. Consider creating a reference to avoid using the 'Cookie->second' expression repeatedly.
Micro-optimizations

ZenLib

Ztring.cpp:705 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. S' with 'const .. &S'.
Micro-optimizations

ZenLib

Ztring.cpp:724 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. S' with 'const .. &S'.
Micro-optimizations

ZenLib

Ztring.cpp:1070 Medium V801 Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. I' with 'const .. &I'.
Micro-optimizations

ZenLib

ZtringList.cpp:128 Medium V820 The 'C' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

ZenLib

ZtringList.cpp:129 Medium V820 The 'Q' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

ZenLib

ZtringListListF.cpp:155 Medium V820 The 'SeparatorT' variable is not used after copying. Copying can be replaced with move/swap for optimization.
Micro-optimizations

ZenLib

ZtringListListF.cpp:207 Medium V820 The 'SeparatorT' variable is not used after copying. Copying can be replaced with move/swap for optimization.