Snippets for smpeg 0.4.5 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/ca0l21idajjdb2z35nla3gcl3sp79b79-smpeg-0.4.5.drv.
-
plaympeg.c:494:9: warning: variable 'fd' set but not used [-Wunused-but-set-variable] 494 | int fd; | ^ -
./MPEGerror.h:39:9: warning: 'vsprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use vsnprintf(3) instead. [-Wdeprecated-declarations] 39 | vsprintf(errbuf, fmt, ap); | ^ -
smpeg.cpp:167:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 167 | sprintf(info->audio_string, | ^ -
MPEGsystem.cpp:535:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 535 | int bytes_read = 0; | ^ -
MPEGsystem.cpp:46:13: warning: unused variable 'AUDIO_CODE' [-Wunused-const-variable] 46 | Uint8 const AUDIO_CODE[] = { 0xff, 0xf0, 0x00, 0x00 }; | ^~~~~~~~~~ -
MPEGsystem.cpp:47:13: warning: unused variable 'AUDIO_MASK' [-Wunused-const-variable] 47 | Uint8 const AUDIO_MASK[] = { 0xff, 0xf0, 0x00, 0x00 }; | ^~~~~~~~~~ -
video/parseblock.cpp:198:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 198 | int diff; | ^