Snippets for vlc 3.0.23-2 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/7rkh447jcghdbf7jwzm852mimgqrvcdd-libvlc-3.0.23-2.drv.
-
input/vlm.c:399:28: warning: variable 'nextschedule' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 399 | time_t lastcheck, now, nextschedule = 0; | ^~~~~~~~~~~~ -
input/vlm.c:405:16: warning: variable 'ppsz_scheduled_commands' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 405 | char **ppsz_scheduled_commands = NULL; | ^~~~~~~~~~~~~~~~~~~~~~~ -
input/vlm.c:406:16: warning: variable 'i_scheduled_commands' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 406 | int i_scheduled_commands = 0; | ^~~~~~~~~~~~~~~~~~~~ -
input/vlm.c:407:14: warning: variable 'scheduled_command' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 407 | bool scheduled_command = false; | ^~~~~~~~~~~~~~~~~ -
modules/cache.c:257:45: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 257 | plugin->conf.items = calloc(sizeof (module_config_t), lines); | ^~~~~~~~~~~~~~~ -
playlist/preparser.c:171:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 171 | if( !b_net || i_options & META_REQUEST_OPTION_SCOPE_NETWORK ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
input/clock.c:539:2: warning: #warning "input_clock_SetJitter needs more work" [-Wcpp] 539 | #warning "input_clock_SetJitter needs more work" | ^~~~~~~ -
input/es_out.h:95:9: warning: unused variable 'i_ret' [-Wunused-variable] 95 | int i_ret = es_out_Control( p_out, ES_OUT_SET_MODE, i_mode ); | ^~~~~ -
input/es_out.h:101:9: warning: unused variable 'i_ret' [-Wunused-variable] 101 | int i_ret = es_out_Control( p_out, ES_OUT_GET_WAKE_UP, &i_wu ); | ^~~~~ -
input/es_out.h:109:9: warning: unused variable 'i_ret' [-Wunused-variable] 109 | int i_ret = es_out_Control( p_out, ES_OUT_GET_BUFFERING, &b ); | ^~~~~ -
input/es_out.h:117:9: warning: unused variable 'i_ret' [-Wunused-variable] 117 | int i_ret = es_out_Control( p_out, ES_OUT_GET_EMPTY, &b ); | ^~~~~ -
input/es_out.h:124:9: warning: unused variable 'i_ret' [-Wunused-variable] 124 | int i_ret = es_out_Control( p_out, ES_OUT_SET_DELAY, i_cat, i_delay ); | ^~~~~ -
input/es_out.h:149:9: warning: unused variable 'i_ret' [-Wunused-variable] 149 | int i_ret = es_out_Control( p_out, ES_OUT_SET_TIMES, f_position, i_time, i_length ); | ^~~~~ -
input/es_out.h:155:9: warning: unused variable 'i_ret' [-Wunused-variable] 155 | int i_ret = es_out_Control( p_out, ES_OUT_SET_JITTER, | ^~~~~ -
input/es_out.h:167:9: warning: unused variable 'i_ret' [-Wunused-variable] 167 | int i_ret = es_out_Control( p_out, ES_OUT_GET_GROUP_FORCED, &i_group ); | ^~~~~ -
input/es_out.h:173:9: warning: unused variable 'i_ret' [-Wunused-variable] 173 | int i_ret = es_out_Control( p_out, ES_OUT_SET_EOS ); | ^~~~~ -
input/decoder.c:2379:5: warning: 'block_FifoSize' is deprecated [-Wdeprecated-declarations] 2379 | return block_FifoSize( p_owner->p_fifo ); | ^~~~~~ -
input/decoder.c:1545:10: warning: variable 'paused' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1545 | bool paused = false; | ^~~~~~ -
input/demux.c:112:19: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (9 chars into 8 available) [-Wunterminated-string-initialization] 112 | { "rm", "avformat" }, | ^~~~~~~~~~ -
input/es_out.c:2790:20: warning: unused variable 'b_source_paused' [-Wunused-variable] 2790 | const bool b_source_paused = (bool)va_arg( args, int ); | ^~~~~~~~~~~~~~~ -
input/es_out.c:2802:19: warning: unused variable 'i_src_rate' [-Wunused-variable] 2802 | const int i_src_rate = va_arg( args, int ); | ^~~~~~~~~~ -
input/es_out.c:2813:26: warning: unused variable 'i_date' [-Wunused-variable] 2813 | const vlc_tick_t i_date = va_arg( args, vlc_tick_t ); | ^~~~~~ -
input/es_out_timeshift.c:933:51: warning: unused parameter 'b_source_paused' [-Wunused-parameter] 933 | static int TsChangePause( ts_thread_t *p_ts, bool b_source_paused, bool b_paused, vlc_tick_t i_date ) | ~~~~~^~~~~~~~~~~~~~~ -
input/es_out_timeshift.c:986:16: warning: variable 'i_buffering_date' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 986 | vlc_tick_t i_buffering_date = -1; | ^~~~~~~~~~~~~~~~ -
audio_output/filters.c:49:58: warning: unused parameter 'const_fmt' [-Wunused-parameter] 49 | config_chain_t *cfg, bool const_fmt) | ~~~~~^~~~~~~~~ -
video_output/event.h:42:2: warning: #warning FIXME: implement video close event [-Wcpp] 42 | #warning FIXME: implement video close event | ^~~~~~~ -
video_output/display.c:56:27: warning: unused variable 'fmt' [-Wunused-variable] 56 | const video_format_t *fmt = &filter->fmt_out.video; | ^~~ -
video_output/display.c:103:5: warning: 'manage' is deprecated [-Wdeprecated-declarations] 103 | vd->manage = NULL; | ^~ -
video_output/display.c:151:5: warning: 'manage' is deprecated [-Wdeprecated-declarations] 151 | if (vd->manage) | ^~ -
video_output/display.c:152:9: warning: 'manage' is deprecated [-Wdeprecated-declarations] 152 | vd->manage(vd); | ^~ -
video_output/display.c:756:13: warning: 'VOUT_DISPLAY_HIDE_MOUSE' is deprecated [-Wdeprecated-declarations] 756 | vout_display_Control(vd, VOUT_DISPLAY_HIDE_MOUSE); | ^~~~~~~~~~~~~~~~~~~~ -
video_output/display.c:1337:43: warning: unused parameter 'subpicture' [-Wunused-parameter] 1337 | subpicture_t *subpicture) | ~~~~~~~~~~~~~~^~~~~~~~~~ -
video_output/display.c:1358:43: warning: unused parameter 'subpicture' [-Wunused-parameter] 1358 | subpicture_t *subpicture) | ~~~~~~~~~~~~~~^~~~~~~~~~ -
video_output/display.c:1464:5: warning: 'manage' is deprecated [-Wdeprecated-declarations] 1464 | wrapper->manage = SplitterManage; | ^~~~~~~ -
network/httpd.c:1702:14: warning: variable 'nfd' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1702 | unsigned nfd; | ^~~ -
network/tls.c:146:16: warning: variable 'session' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 146 | vlc_tls_t *session; | ^~~~~~~ -
misc/actions.c:352:7: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (27 chars into 26 available) [-Wunterminated-string-initialization] 352 | { "subtitle-text-scale-normal", ACTIONID_SUBTITLE_TEXT_SCALE_NORMAL, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
misc/picture.c:300:15: warning: unused variable 'refs' [-Wunused-variable] 300 | uintptr_t refs = atomic_fetch_add( &priv->gc.refs, 1 ); | ^~~~ -
misc/interrupt.c:353:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 353 | read(fd[0], &dummy, sizeof (dummy)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
misc/interrupt.c:294:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 294 | write(fd[1], &value, sizeof (value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
misc/picture_pool.c:169:28: warning: '<unknown>' may be used uninitialized [-Wmaybe-uninitialized] 169 | picture_pool_t *pool = picture_pool_New(count, picture); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
misc/picture_pool.c:192:28: warning: '<unknown>' may be used uninitialized [-Wmaybe-uninitialized] 192 | picture_pool_t *pool = picture_pool_New(count, picture); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
misc/variables.c:723:25: warning: unused parameter 'expected_type' [-Wunused-parameter] 723 | int expected_type, vlc_value_t val ) | ~~~~^~~~~~~~~~~~~ -
misc/variables.c:782:25: warning: unused parameter 'expected_type' [-Wunused-parameter] 782 | int expected_type, vlc_value_t *p_val ) | ~~~~^~~~~~~~~~~~~ -
stream_output/stream_output.c:493:6: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 493 | && block_FifoCount( p_input->p_fifo ) > 0 ) | ^~ -
../include/vlc_arrays.h:93:13: warning: declaration of 'i_index' shadows a previous local [-Wshadow=compatible-local] 93 | int i_index; \ | ^~~~~~~ -
stream_output/stream_output.c:574:9: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 574 | if( block_FifoCount( p_input->p_fifo ) < i_blocks ) | ^~ -
access/vcd/cdrom.c:869:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 869 | if( strcasecmp( type, "BINARY" ) ) | ^ -
access/smb.c:165:5: warning: 'smbc_init' is deprecated [-Wdeprecated-declarations] 165 | if( smbc_init( smb_auth, 0 ) ) | ^~ -
access/smb.c:374:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 374 | psz_name = NULL; | ^ -
access/sftp.c:208:5: warning: 'libssh2_session_startup' is deprecated: since libssh2 1.2.8. Use libssh2_session_handshake() [-Wdeprecated-declarations] 208 | while( ( i_ret = libssh2_session_startup( p_sys->ssh_session, p_sys->i_socket ) ) | ^~~~~ -
access/satip.c:173:13: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 173 | strncpy(port, tok + 5, __MIN(strlen(tok + 5), 5)); | ^ -
access/satip.c:167:13: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 167 | strncpy(sys->udp_address, tok + 12, __MIN(strlen(tok + 12), UDP_ADDRESS_LEN - 1)); | ^ -
access/satip.c:127:5: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 127 | strncpy(session, tok, __MIN(strlen(tok), max - 1)); | ^ -
../include/vlc_threads.h:975:43: warning: variable '__cancel_routine' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 975 | # define vlc_cleanup_push( routine, arg ) pthread_cleanup_push (routine, arg) | ^~~~~~~~~~~~~~~~~~~~ -
access/srt.c:129:5: warning: 'srt_socket' is deprecated [-Wdeprecated-declarations] 129 | p_sys->sock = srt_socket( res->ai_family, SOCK_DGRAM, 0 ); | ^~~~~ -
access/rist.c:322:23: warning: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 322 | uint8_t name[4] = "RIST"; | ^~~~~~ -
audio_output/pulse.c:174:60: warning: unused parameter 'aout' [-Wunused-parameter] 174 | static void stream_start_now(pa_stream *s, audio_output_t *aout) | ~~~~~~~~~~~~~~~~^~~~ -
../include/vlc_threads.h:859:14: warning: call to 'harmful_delay' declared with attribute warning: use proper event handling instead of short delay [-Wattribute-warning] 859 | ? harmful_delay(d) \ | ^~~~~~~~~~~~~~~~ -
codec/fluidsynth.c:164:5: warning: 'fluid_synth_set_chorus_on' is deprecated [-Wdeprecated-declarations] 164 | fluid_synth_set_chorus_on (p_sys->synth, | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
codec/fluidsynth.c:170:5: warning: 'fluid_synth_set_reverb_on' is deprecated [-Wdeprecated-declarations] 170 | fluid_synth_set_reverb_on (p_sys->synth, | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
codec/fluidsynth.c:175:5: warning: 'fluid_synth_set_sample_rate' is deprecated [-Wdeprecated-declarations] 175 | fluid_synth_set_sample_rate (p_sys->synth, p_dec->fmt_out.audio.i_rate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
codec/jpeg.c:472:16: warning: variable 'p_row_pointers' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 472 | JSAMPARRAY p_row_pointers = NULL; | ^~~~~~~~~~~~~~ -
codec/svg.c:148:5: warning: 'rsvg_handle_get_dimensions' is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead [-Wdeprecated-declarations] 148 | rsvg_handle_get_dimensions( rsvg, &dim ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
codec/svg.c:240:5: warning: 'rsvg_handle_render_cairo' is deprecated: Use 'rsvg_handle_render_document' instead [-Wdeprecated-declarations] 240 | if( !rsvg_handle_render_cairo( rsvg, cr ) ) | ^~ -
codec/libass.c:451:9: warning: 'ass_set_aspect_ratio' is deprecated: use 'ass_set_pixel_aspect' instead [-Wdeprecated-declarations] 451 | ass_set_aspect_ratio( p_sys->p_renderer, dst_ratio / src_ratio, 1 ); | ^~~~~~~~~~~~~~~~~~~~ -
codec/subsdec.c:901:23: warning: declaration of 'psz_tagname' shadows a previous local [-Wshadow=compatible-local] 901 | char* psz_tagname = GetTag( &psz_subtitle, true ); | ^~~~~~~~~~~ -
demux/webvtt.c:348:79: warning: unused parameter 'i_end' [-Wunused-parameter] 348 | static block_t *demux_Range( demux_t *p_demux, vlc_tick_t i_start, vlc_tick_t i_end ) | ~~~~~~~~~~~^~~~~ -
codec/telx.c:635:17: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 255 [-Wstringop-truncation] 635 | strncpy( p_sys->ppsz_lines[0], psz_line, | ^ -
codec/telx.c:589:17: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 255 [-Wstringop-truncation] 589 | strncpy( p_sys->ppsz_lines[row], t, | ^ -
codec/telx.c:556:17: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 255 [-Wstringop-truncation] 556 | strncpy( p_sys->ppsz_lines[row], psz_line, | ^ -
codec/flac.c:352:41: warning: declaration of 'i' shadows a previous local [-Wshadow=local] 352 | for( size_t i=0; i<MAPPED_WFX_CHANNELS; i++ ) | ^ -
codec/flac.c:372:39: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local] 372 | for( unsigned i=0; i<i_wfxchannels; i++ ) | ^ -
codec/kate.c:56:13: warning: declaration of 'i_ret' shadows a previous local [-Wshadow=compatible-local] 56 | int i_ret = (statement); \ | ^~~~~ -
../include/vlc_messages.h:78:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 78 | vlc_Log(VLC_OBJECT(o), p, vlc_module_name, __FILE__, __LINE__, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | __func__, __VA_ARGS__) | ~~~~~~~~~~~~~~~~~~~~~~ -
codec/oggspots.c:273:15: warning: declaration of 'p_extra' shadows a previous local [-Wshadow=local] 273 | void* p_extra = realloc(p_dec->fmt_out.p_extra, | ^~~~~~~ -
codec/oggspots.c:394:5: warning: ignoring return value of 'decoder_UpdateVideoFormat' declared with attribute 'warn_unused_result' [-Wunused-result] 394 | decoder_UpdateVideoFormat(p_dec); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
codec/avcodec/video.c:759:35: warning: unused parameter 'obj' [-Wunused-parameter] 759 | int InitVideoHwDec( vlc_object_t *obj ) | ~~~~~~~~~~~~~~^~~ -
codec/avcodec/video.c:700:12: warning: 'ExtractAV1Profile' defined but not used [-Wunused-function] 700 | static int ExtractAV1Profile(AVCodecContext *p_context, const es_format_t *fmt_in, decoder_sys_t *p_sys) | ^~~~~~~~~~~~~~~~~ -
../include/vlc_bits.h:202:13: warning: '*p_buffer' may be used uninitialized [-Wmaybe-uninitialized] 202 | *s->p |= 1 << ( s->i_left - 1 ); | ^~~~~ -
codec/avcodec/vaapi.c:45:5: warning: 'FF_API_STRUCT_VAAPI_CONTEXT' is not defined, evaluates to '0' [-Wundef] 45 | #if FF_API_STRUCT_VAAPI_CONTEXT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
codec/avcodec/vaapi.c:74:65: warning: unused parameter 'fmt' [-Wunused-parameter] 74 | static int GetVaProfile(AVCodecContext *ctx, const es_format_t *fmt, | ~~~~~~~~~~~~~~~~~~~^~~ -
demux/../packetizer/flac.h:249:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 249 | if (!stream_info || stream_info->total_samples != 0 && i_fsnumber > stream_info->total_samples) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/flac.c:231:17: warning: unused variable 'i_ret' [-Wunused-variable] 231 | int i_ret = FLAC_ParseSyncInfo( p_block->p_buffer, p_block->i_buffer, | ^~~~~ -
demux/oggseek.c:961:13: warning: variable 'i_pagepos' set but not used [-Wunused-but-set-variable] 961 | int64_t i_pagepos; | ^~~~~~~~~ -
demux/oggseek.c:310:5: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 310 | vlc_stream_Seek( p_demux->s, i_backup_pos ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/oggseek.c:1082:9: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 1082 | vlc_stream_Seek( p_demux->s, i_in_pos ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/oggseek.c:1091:9: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 1091 | vlc_stream_Seek( p_demux->s, i_in_pos ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/pva.c:409:44: warning: 'hdr' may be used uninitialized [-Wmaybe-uninitialized] 409 | hdr[0], hdr[1],hdr[2],hdr[3] ); | ~~~^~~ -
demux/pva.c:409:37: warning: 'hdr' may be used uninitialized [-Wmaybe-uninitialized] 409 | hdr[0], hdr[1],hdr[2],hdr[3] ); | ~~~^~~ -
demux/pva.c:409:30: warning: 'hdr' may be used uninitialized [-Wmaybe-uninitialized] 409 | hdr[0], hdr[1],hdr[2],hdr[3] ); | ~~~^~~ -
demux/pva.c:409:22: warning: 'hdr' may be used uninitialized [-Wmaybe-uninitialized] 409 | hdr[0], hdr[1],hdr[2],hdr[3] ); | ~~~^~~ -
demux/nuv.c:531:52: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 531 | else if( vlc_stream_Tell( p_demux->s ) > p_sys->i_first_frame_offset ) | ^ -
demux/nuv.c:569:19: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'uint64_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | if( i_pos > vlc_stream_Tell( p_demux->s ) ) | ^ -
demux/nuv.c:762:9: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 762 | vlc_stream_Seek( p_demux->s, i_original_pos ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/dmxmus.c:255:19: warning: 'buf[1]' may be used uninitialized [-Wmaybe-uninitialized] 255 | unsigned char buf[3]; | ^~~ -
demux/dmxmus.c:190:9: warning: 'buf[2]' may be used uninitialized [-Wmaybe-uninitialized] 190 | val &= 0x7f; | ~~~~^~~~~~~ -
demux/image.c:575:5: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 575 | vlc_stream_Seek(s, position); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/image.c:440:5: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 440 | vlc_stream_Seek(s, 20); | ^~~~~~~~~~~~~~~~~~~~~~ -
demux/mpeg/es.c:440:21: warning: declaration of 'i_ret' shadows a previous local [-Wshadow=compatible-local] 440 | int i_ret = vlc_stream_Seek( p_demux->s, p_sys->i_stream_offset + i_pos ); | ^~~~~ -
demux/mpeg/es.c:502:51: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 1 [-Wrestrict] 502 | swab( p_block_in->p_buffer, p_block_in->p_buffer, p_block_in->i_buffer ); | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~^~~~~~~~~~ -
demux/mpeg/es.c:624:18: warning: declaration of 'i_len' shadows a previous local [-Wshadow=compatible-local] 624 | uint32_t i_len = GetDWLE( p_peek + i_peek - 4 ); | ^~~~~ -
demux/mpeg/es.c:436:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 436 | if( p_sys->mllt.p_bits ) | ^ -
demux/mp4/mp4.c:1547:18: warning: unused variable 'p_sys' [-Wunused-variable] 1547 | demux_sys_t *p_sys = p_demux->p_sys; | ^~~~~ -
demux/mp4/mp4.c:3168:32: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 3168 | for( i_index = 0; i_index < p_track->chunk[i_chunk].i_entries_dts && | ^ -
demux/mp4/mp4.c:4058:29: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 4058 | if( i_elst_last < elst->i_entry_count && | ^ -
demux/mp4/libmp4.c:1567:12: warning: 'MP4_ReadBox_LtdContainer' reading 2 bytes from a region of size 1 [-Wstringop-overread] 1567 | return MP4_ReadBox_LtdContainer( p_stream, p_box, versions, 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/mp4/mpeg4.h:30:52: warning: unused parameter 'pi_profile' [-Wunused-parameter] 30 | int *pi_profile) | ~~~~~^~~~~~~~~~ -
../include/vlc_fixups.h:373:27: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (26 chars into 25 available) [-Wunterminated-string-initialization] 373 | #define gettext_noop(str) (str) | ^ -
demux/mpeg/ts.c:1998:9: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 1998 | vlc_stream_Seek( p_sys->stream, i_initial_pos ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/mpeg/mpeg4_iod.c:502:14: warning: 'ods[0]' may be used uninitialized [-Wmaybe-uninitialized] 502 | if( p_iod->psz_url ) | ~~~~~^~~~~~~~~ -
demux/mpeg/ts_pes.c:74:65: warning: unused parameter 'i_buf' [-Wunused-parameter] 74 | static bool MayHaveStartCodeOnEnd( const uint8_t *p_buf, size_t i_buf ) | ~~~~~~~^~~~~ -
demux/adaptive/logic/../tools/MovingAverage.hpp:32:33: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 32 | MovingAverageSum<T>(T i): sum(0), prev(i) { } | ^ -
misc/webservices/json.c:134:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 134 | value->_reserved.object_mem = (*(char **) &value->u.object.values) + values_size; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
misc/webservices/json.c:343:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 343 | (*(json_char **) &top->u.object.values) += string_length + 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
misc/gnutls.c:623:71: warning: unused parameter 'hostname' [-Wunused-parameter] 623 | vlc_tls_t *sk, const char *hostname, | ~~~~~~~~~~~~^~~~~~~~ -
misc/rtsp.c:239:33: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (17 chars into 16 available) [-Wunterminated-string-initialization] 239 | static const char hex[16] = "0123456789abcdef"; | ^~~~~~~~~~~~~~~~~~ -
misc/rtsp.c:326:5: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 326 | while( block_FifoCount( p_sys->p_fifo_cmd ) > 0 ) | ^~~~~ -
misc/rtsp.c:969:32: warning: declaration of 'p_rtsp' shadows a previous local [-Wshadow=compatible-local] 969 | rtsp_client_t *p_rtsp = NULL; | ^~~~~~ -
misc/rtsp.c:1004:2: warning: #warning Should use secure randomness here! (spoofing risk) [-Wcpp] 1004 | #warning Should use secure randomness here! (spoofing risk) | ^~~~~~~ -
misc/rtsp.c:1301:32: warning: declaration of 'p_rtsp' shadows a previous local [-Wshadow=compatible-local] 1301 | rtsp_client_t *p_rtsp = NULL; | ^~~~~~ -
misc/rtsp.c:1330:2: warning: #warning Session ID should be securely random (spoofing risk) [-Wcpp] 1330 | #warning Session ID should be securely random (spoofing risk) | ^~~~~~~ -
mux/mp4/mp4.c:650:13: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 650 | if (block_FifoCount(p_input->p_fifo) > 0) { | ^~ -
mux/mpjpeg.c:153:5: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 153 | while( block_FifoCount( p_fifo ) > 0 ) | ^~~~~ -
mux/wav.c:285:5: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 285 | while( block_FifoCount( p_input->p_fifo ) > 0 ) | ^~~~~ -
mux/ogg.c:570:13: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 570 | while( block_FifoCount( p_input->p_fifo ) ) | ^~~~~ -
mux/ogg.c:1125:27: warning: declaration of 'p_stream' shadows a previous local [-Wshadow=compatible-local] 1125 | ogg_stream_t *p_stream = (ogg_stream_t*)p_input->p_sys; | ^~~~~~~~ -
mux/ogg.c:1154:23: warning: declaration of 'p_stream' shadows a previous local [-Wshadow=compatible-local] 1154 | ogg_stream_t *p_stream = (ogg_stream_t*)p_input->p_sys; | ^~~~~~~~ -
mux/ogg.c:1187:23: warning: declaration of 'p_stream' shadows a previous local [-Wshadow=compatible-local] 1187 | ogg_stream_t *p_stream = (ogg_stream_t*)p_input->p_sys; | ^~~~~~~~ -
mux/ogg.c:506:13: warning: '__builtin_strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation] 506 | strncpy( p_stream->p_oggds_header->sub_type, buf, 4 ); | ^ -
mux/mpeg/bits.h:70:48: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 70 | p_buffer->p_data[p_buffer->i_data] |= p_buffer->i_mask; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
mux/mpeg/bits.h:74:48: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 74 | p_buffer->p_data[p_buffer->i_data] &= ~p_buffer->i_mask; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
mux/mpeg/ts.c:1071:9: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 1071 | block_FifoCount( p_input->p_fifo ) > 0 ) | ^~~~~~~~~~~~~~~ -
mux/mpeg/ts.c:1235:9: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 1235 | if( block_FifoCount( p_input->p_fifo ) <= 1 ) | ^~ -
mux/mpeg/ts.c:1243:13: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 1243 | else if( block_FifoCount( p_input->p_fifo ) <= 0 ) | ^~~~ -
mux/mpeg/ts.c:1306:21: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 1306 | block_FifoCount( p_mux->pp_inputs[j]->p_fifo) > 0 ) | ^~~~~~~~~~~~~~~ -
packetizer/av1.c:93:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 93 | if(p_sys->tu.dts == VLC_TICK_INVALID)\ | ^~ -
packetizer/hxxx_sei.c:57:32: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 57 | if (bs_remain(&s_ep3b) / 8 > sizeof(buf)) | ^ -
packetizer/hxxx_sei.c:186:30: warning: declaration of 'i' shadows a previous local [-Wshadow=local] 186 | for ( size_t i = 0; i < 6 ; ++i) | ^ -
packetizer/hxxx_sei.c:188:30: warning: declaration of 'i' shadows a previous local [-Wshadow=local] 188 | for ( size_t i = 0; i < 2 ; ++i) | ^ -
packetizer/flac.h:249:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 249 | if (!stream_info || stream_info->total_samples != 0 && i_fsnumber > stream_info->total_samples) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
stream_out/rtpfmt.c:159:33: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (17 chars into 16 available) [-Wunterminated-string-initialization] 159 | static const char hex[16] = "0123456789abcdef"; | ^~~~~~~~~~~~~~~~~~ -
stream_out/rtpfmt.c:996:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 996 | bool last = i == (frag_count - 1); | ^~ -
stream_out/rtp.c:1812:9: warning: unused variable 'ret' [-Wunused-variable] 1812 | int ret = sscanf( id->rtp_fmt.fmtp, "%*s width=%d; height=%d; ", width, height ); | ^~~ -
stream_out/rtpfmt.c:1965:5: warning: 'y_sampling_factor' may be used uninitialized [-Wmaybe-uninitialized] 1965 | switch (y_sampling_factor) | ^~~~~~ -
stream_out/rtp.c:1568:5: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] 1568 | strncpy((char *)&i_ts_init, psz_vod_session, sizeof(uint64_t)); | ^ -
stream_out/rtp.c:1568:5: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation]
-
stream_out/rtsp.c:1152:29: warning: declaration of 'ses' shadows a previous local [-Wshadow=compatible-local] 1152 | rtsp_session_t *ses; | ^~~ -
stream_out/vod.c:188:5: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 188 | while( block_FifoCount( p_sys->p_fifo_cmd ) > 0 ) | ^~~~~ -
stream_out/chromecast/chromecast_ctrl.cpp:1039:23: warning: ignoring return value of 'bool google::protobuf::MessageLite::ParseFromArray(const void*, int)', declared with attribute 'nodiscard' [-Wunused-result] 1039 | msg.ParseFromArray(p_packet + PACKET_HEADER_LEN, i_payloadSize); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
stream_out/chromecast/chromecast_ctrl.cpp:770:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 770 | if ( p_app == NULL ) | ^~ -
stream_out/chromecast/chromecast_communication.cpp:440:30: warning: 'int google::protobuf::MessageLite::ByteSize() const' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations] 440 | int i_size = msg.ByteSize(); | ~~~~~~~~~~~~^~ -
stream_out/chromecast/chromecast_communication.cpp:450:40: warning: ignoring return value of 'uint8_t* google::protobuf::MessageLite::SerializeWithCachedSizesToArray(uint8_t*) const', declared with attribute 'nodiscard' [-Wunused-result] 450 | msg.SerializeWithCachedSizesToArray(p_data + PACKET_HEADER_LEN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spu/remoteosd.c:363:5: warning: '__builtin_strncpy' output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation] 363 | strncpy(pv, "RFB 003.003\n", sz_rfbProtocolVersionMsg); | ^ -
text_renderer/svg.c:246:5: warning: 'rsvg_handle_get_dimensions' is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead [-Wdeprecated-declarations] 246 | rsvg_handle_get_dimensions( p_handle, &dim ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
text_renderer/svg.c:292:5: warning: 'rsvg_handle_render_cairo' is deprecated: Use 'rsvg_handle_render_document' instead [-Wdeprecated-declarations] 292 | if( ! rsvg_handle_render_cairo( p_handle, cr ) ) | ^~ -
/nix/store/m300ngckdmal8wnl3bjbpwca3a5bn74c-glibc-2.42-67-dev/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound between 18446744071562067968 and 18446744071562067969 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/m300ngckdmal8wnl3bjbpwca3a5bn74c-glibc-2.42-67-dev/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -
video_filter/deinterlace/yadif.h:88:13: warning: declaration of 'score' shadows a previous local [-Wshadow=compatible-local] 88 | { int score = FFABS(cur[mrefs-1+(j)] - cur[prefs-1-(j)])\ | ^~~~~ -
video_filter/deinterlace/algo_phosphor.c:132:17: warning: declaration of 'w' shadows a previous local [-Wshadow=compatible-local] 132 | int w = p_dst->p[i_plane].i_visible_pitch; | ^ -
video_filter/deinterlace/algo_phosphor.c:215:17: warning: declaration of 'w' shadows a previous local [-Wshadow=compatible-local] 215 | int w = p_dst->p[i_plane].i_visible_pitch; | ^ -
video_filter/deinterlace/algo_phosphor.c:216:17: warning: declaration of 'wm8' shadows a previous local [-Wshadow=compatible-local] 216 | int wm8 = w % 8; /* remainder */ | ^~~ -
video_filter/deinterlace/algo_phosphor.c:217:17: warning: declaration of 'w8' shadows a previous local [-Wshadow=compatible-local] 217 | int w8 = w - wm8; /* part of width that is divisible by 8 */ | ^~ -
video_output/opengl/converter_vaapi.c:113:19: warning: unused variable 'o' [-Wunused-variable] 113 | vlc_object_t *o = VLC_OBJECT(tc->gl); | ^ -
video_output/caca.c:200:5: warning: 'manage' is deprecated [-Wdeprecated-declarations] 200 | vd->manage = Manage; | ^~ -
video_output/caca.c:319:5: warning: 'VOUT_DISPLAY_HIDE_MOUSE' is deprecated [-Wdeprecated-declarations] 319 | case VOUT_DISPLAY_HIDE_MOUSE: | ^~~~ -
video_output/vdummy.c:151:54: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 151 | (picture->p->i_pitch * picture->p->i_lines) >= sizeof(vlc_tick_t) ) { | ^~ -
access/linsys/linsys_hdsdi.c:268:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 268 | write( p_sys->evfd, &(uint64_t){ 1 }, sizeof (uint64_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
access/dtv/linux.c:606:25: warning: 'systems' may be used uninitialized [-Wmaybe-uninitialized] 606 | systems |= systems << 1; /* DVB_foo -> DVB_foo|DVB_foo2 */ | ~~~~~~~~^~~~~~~~~~~~~~~ -
../include/vlc_threads.h:878:19: warning: call to 'harmful_delay' declared with attribute warning: use proper event handling instead of short delay [-Wattribute-warning] 878 | #define msleep(d) msleep(check_delay(d)) | ^~~~~~~~~~~~~~~~~~~~~~ -
access_output/udp.c:360:5: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 360 | while ( block_FifoCount( p_sys->p_empty_blocks ) > MAX_EMPTY_BLOCKS ) | ^~~~~ -
access_output/udp.c:366:5: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 366 | if( block_FifoCount( p_sys->p_empty_blocks ) == 0 ) | ^~ -
access_output/udp.c:398:18: warning: variable 'p_pk' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 398 | block_t *p_pk = block_FifoGet( p_sys->p_fifo ); | ^~~~ -
../include/vlc_threads.h:975:43: warning: variable '__cancel_arg' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 975 | # define vlc_cleanup_push( routine, arg ) pthread_cleanup_push (routine, arg) | ^~~~~~~~~~~~~~~~~~~~ -
access_output/srt.c:124:5: warning: 'srt_socket' is deprecated [-Wdeprecated-declarations] 124 | p_sys->sock = srt_socket( res->ai_family, SOCK_DGRAM, 0 ); | ^~~~~ -
../include/vlc_common.h:498:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 498 | # define __MIN(a, b) ( ((a) < (b)) ? (a) : (b) ) | ^ -
../include/vlc_common.h:498:48: warning: operand of '?:' changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 498 | # define __MIN(a, b) ( ((a) < (b)) ? (a) : (b) ) | ^~~ -
codec/webvtt/webvtt.c:150:33: warning: implicit conversion from 'enum <anonymous>' to 'enum webvtt_header_line_e' [-Wenum-conversion] 150 | p->pf_header( p->priv, p->section, b_new, psz_line ); | ~^~~~~~~~~ -
control/gestures.c:502:39: warning: unused parameter 'oldval' [-Wunused-parameter] 502 | vlc_value_t oldval, vlc_value_t val, void *p_data ) | ~~~~~~~~~~~~^~~~~~ -
../include/vlc_variables.h:611:9: warning: 'varname' may be used uninitialized [-Wmaybe-uninitialized] 611 | if( var_Inherit( obj, name, VLC_VAR_INTEGER, &val ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
control/netsync.c:277:38: warning: unused parameter 'oldval' [-Wunused-parameter] 277 | vlc_value_t oldval, vlc_value_t newval, void *data) | ~~~~~~~~~~~~^~~~~~ -
control/motion.c:139:2: warning: #warning FIXME: check once (or less) per picture, not once per interval [-Wcpp] 139 | #warning FIXME: check once (or less) per picture, not once per interval | ^~~~~~~ -
control/motion.c:164:2: warning: #warning FIXME: refactor this plugin as a video filter! [-Wcpp] 164 | #warning FIXME: refactor this plugin as a video filter! | ^~~~~~~ -
control/dbus/dbus.c:884:19: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 884 | (void)read( fds[0].fd, &buf, 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/asf/libasf.c:1288:41: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (17 chars into 16 available) [-Wunterminated-string-initialization] 1288 | static const char hex[16] = "0123456789ABCDEF"; | ^~~~~~~~~~~~~~~~~~ -
../include/vlc_common.h:495:33: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'uint64_t' {aka 'long unsigned int'} [-Wsign-compare] 495 | # define __MAX(a, b) ( ((a) > (b)) ? (a) : (b) ) | ^ -
../include/vlc_common.h:495:42: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long int'} to 'uint64_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 495 | # define __MAX(a, b) ( ((a) > (b)) ? (a) : (b) ) | ^~~ -
demux/avi/avi.c:1331:17: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 1331 | vlc_stream_Seek( p_demux->s, p_sys->i_movi_lastchunk_pos ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/avi/avi.c:1339:17: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 1339 | vlc_stream_Seek( p_demux->s, p_sys->i_movi_begin + 12 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/avi/avi.c:1412:13: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 1412 | vlc_stream_Seek( p_demux->s, i_pos ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/avi/avi.c:2060:9: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 2060 | vlc_stream_Seek( p_demux->s, p_sys->i_movi_lastchunk_pos ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/avi/avi.c:2068:9: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 2068 | vlc_stream_Seek( p_demux->s, p_sys->i_movi_begin + 12 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/avi/avi.c:1684:21: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 1684 | vlc_stream_Seek( p_demux->s, i_pos_backup ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/avi/avi.c:1799:13: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 1799 | vlc_stream_Seek( p_demux->s, i_pos_backup ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/avi/avi.c:2869:5: warning: ignoring return value of 'vlc_stream_Seek' declared with attribute 'warn_unused_result' [-Wunused-result] 2869 | vlc_stream_Seek( p_demux->s, p_movi->i_chunk_pos + 12 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/avi/avi.c:2486:9: warning: 'avi_pk.i_fourcc' may be used uninitialized [-Wmaybe-uninitialized] 2486 | switch( avi_pk.i_fourcc ) | ^~~~~~ -
demux/avi/avi.c:2481:11: warning: 'avi_pk.i_stream' may be used uninitialized [-Wmaybe-uninitialized] 2481 | if( avi_pk.i_stream < p_sys->i_track && | ^ -
demux/avi/avi.c:2482:40: warning: '*(unsigned int *)((char *)&avi_pk + offsetof(avi_packet_t, i_cat))' may be used uninitialized [-Wmaybe-uninitialized] 2482 | ( avi_pk.i_cat == AUDIO_ES || avi_pk.i_cat == VIDEO_ES ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
demux/avformat/demux.c:1144:40: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (11 chars into 10 available) [-Wunterminated-string-initialization] 1144 | [vlc_meta_EncodedBy] = "encoded_by", | ^~~~~~~~~~~~ -
demux/mkv/matroska_segment.cpp:998:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 998 | case VIDEO_ES: ++track_score; | ^~~~~~~~~~~~~ -
demux/mkv/matroska_segment.cpp:999:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 999 | case AUDIO_ES: ++track_score; | ^~~~~~~~~~~~~ -
demux/mkv/matroska_segment.cpp:1000:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 1000 | case SPU_ES: ++track_score; | ^~~~~~~~~~~~~ -
demux/mkv/matroska_segment.cpp:1442:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 1442 | if( unlikely( !el->ValidateSize() || ( el->IsFiniteSize() && el->GetSize() >= SIZE_MAX ) ) ) | ^~ -
demux/mkv/matroska_segment_parse.cpp:955:10: warning: statement has no effect [-Wunused-value] 955 | for (t; t != matroska_segment_c::tracks.end(); ++t) | ^ -
demux/mkv/matroska_segment_parse.cpp:1665:39: warning: taking address of packed member of '_WAVEFORMATEXTENSIBLE' may result in an unaligned pointer value [-Waddress-of-packed-member] 1665 | sf_tag_to_fourcc( &p_wext->SubFormat, &p_tk->fmt.i_codec, NULL); | ^~~~~~~~~~~~~~~~~~ -
demux/mkv/demux.cpp:453:97: warning: unused parameter 'b_initial' [-Wunused-parameter] 453 | bool demux_sys_t::AnalyseAllSegmentsFound( demux_t *p_demux, matroska_stream_c *p_stream1, bool b_initial ) | ~~~~~^~~~~~~~~ -
demux/adaptive/tools/../../mp4/mpeg4.h:30:52: warning: unused parameter 'pi_profile' [-Wunused-parameter] 30 | int *pi_profile) | ~~~~~^~~~~~~~~~ -
/nix/store/m300ngckdmal8wnl3bjbpwca3a5bn74c-glibc-2.42-67-dev/include/bits/string_fortified.h:29:10: warning: 'mp4_a52_header' may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gui/ncurses.c:1083:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1083 | mvnprintw(y++, 0, COLS, _(input_state[val.i_int]), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1084 | repeat, random, loop); | ~~~~~~~~~~~~~~~~~~~~~ -
gui/ncurses.c:1562:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1562 | if (getch() != ERR) | ^ -
lua/extension.c:383:26: warning: declaration of 'b_ok' shadows a previous local [-Wshadow=compatible-local] 383 | bool b_ok = false; | ^~~~ -
lua/extension.c:627:26: warning: declaration of 'p_ext' shadows a previous local [-Wshadow=compatible-local] 627 | extension_t *p_ext; | ^~~~~ -
lua/extension.c:639:26: warning: declaration of 'p_ext' shadows a previous local [-Wshadow=compatible-local] 639 | extension_t *p_ext; | ^~~~~ -
lua/extension.c:1159:54: warning: unused parameter 'p_event' [-Wunused-parameter] 1159 | static void inputItemMetaChanged( const vlc_event_t *p_event, | ~~~~~~~~~~~~~~~~~~~^~~~~~~ -
lua/libs/sd.c:449:5: warning: 'playlist_IsServicesDiscoveryLoaded' is deprecated [-Wdeprecated-declarations] 449 | lua_pushboolean( L, playlist_IsServicesDiscoveryLoaded( p_playlist, psz_sd )); | ^~~~~~~~~~~~~~~ -
meta_engine/folder.c:162:19: warning: declaration of 'psz_uri' shadows a previous local [-Wshadow=compatible-local] 162 | char *psz_uri = vlc_path2uri( filepath, "file" ); | ^~~~~~~ -
../include/vlc_arrays.h:229:9: warning: declaration of 'fe_idx' shadows a previous local [-Wshadow=compatible-local] 229 | int fe_idx; \ | ^~~~~~ -
mux/dummy.c:167:9: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 167 | i_count = block_FifoCount( p_fifo ); | ^~~~~~~ -
mux/asf.c:1000:22: warning: declaration of 'tk' shadows a previous local [-Wshadow=compatible-local] 1000 | asf_track_t *tk = NULL; | ^~ -
mux/avi.c:516:9: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 516 | i_count = block_FifoCount( p_fifo ); | ^~~~~~~ -
mux/avi.c:523:13: warning: 'block_FifoCount' is deprecated [-Wdeprecated-declarations] 523 | if( block_FifoCount( p_fifo ) > 0 ) | ^~ -
services_discovery/podcast.c:358:14: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local] 358 | for( int i = 0; i < p_sys->i_urls; i++ ) | ^ -
services_discovery/sap.c:900:9: warning: 'services_discovery_AddItemCat' is deprecated [-Wdeprecated-declarations] 900 | services_discovery_AddItemCat(p_sd, p_input, str ? str : psz_value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
services_discovery/sap.c:908:9: warning: 'services_discovery_AddItemCat' is deprecated [-Wdeprecated-declarations] 908 | services_discovery_AddItemCat(p_sd, p_input, psz_value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
services_discovery/pulse.c:186:5: warning: 'services_discovery_AddItemCat' is deprecated [-Wdeprecated-declarations] 186 | services_discovery_AddItemCat(sd, item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
services_discovery/upnp.cpp:1055:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 1055 | if (!p_item) { | ^~ -
services_discovery/upnp.cpp:1599:14: warning: 'char* getIpv4ForMulticast()' defined but not used [-Wunused-function] 1599 | static char *getIpv4ForMulticast() | ^~~~~~~~~~~~~~~~~~~ -
stream_out/transcode/transcode.c:274:23: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (6 chars into 5 available) [-Wunterminated-string-initialization] 274 | char fcc[5] = " \0"; | ^~~~~~~~ -
stream_out/transcode/transcode.c:329:23: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (6 chars into 5 available) [-Wunterminated-string-initialization] 329 | char fcc[5] = " \0"; | ^~~~~~~~ -
stream_out/transcode/transcode.c:399:23: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (6 chars into 5 available) [-Wunterminated-string-initialization] 399 | char fcc[5] = " \0"; | ^~~~~~~~ -
stream_filter/prefetch.c:124:10: warning: variable 'paused' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 124 | bool paused = false; | ^~~~~~ -
video_filter/ball.c:611:14: warning: declaration of 'y' shadows a previous local [-Wshadow=compatible-local] 611 | for( int y = 1; y < i_numLines - 1; y++ ) | ^ -
video_filter/ball.c:613:18: warning: declaration of 'x' shadows a previous local [-Wshadow=compatible-local] 613 | for( int x = 1; x < i_numCols - 1; x++ ) | ^ -
video_filter/ball.c:636:18: warning: declaration of 'y' shadows a previous local [-Wshadow=compatible-local] 636 | for( int y = 1; y < i_numLines - 1; y++ ) | ^ -
video_filter/ball.c:638:22: warning: declaration of 'x' shadows a previous local [-Wshadow=compatible-local] 638 | for( int x = 1; x < i_numCols - 1; x++ ) | ^ -
video_filter/ripple.c:160:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 160 | i_pixel_pitch *= 2; | ~~~~~~~~~~~~~~^~~~ -
video_filter/scale.c:75:2: warning: #warning Converter cannot (really) change output format. [-Wcpp] 75 | #warning Converter cannot (really) change output format. | ^~~~~~~ -
video_filter/scale.c:95:2: warning: #warning Converter cannot (really) change output format. [-Wcpp] 95 | #warning Converter cannot (really) change output format. | ^~~~~~~ -
video_filter/wave.c:161:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 161 | i_pixel_pitch *= 2; | ~~~~~~~~~~~~~~^~~~ -
video_filter/hqdn3d.h:92:22: warning: declaration of 'PixelAnt' shadows a previous local [-Wshadow=compatible-local] 92 | unsigned int PixelAnt; | ^~~~~~~~ -
video_filter/hqdn3d.h:100:26: warning: declaration of 'PixelDst' shadows a previous local [-Wshadow=compatible-local] 100 | unsigned int PixelDst; | ^~~~~~~~ -
video_filter/hqdn3d.h:159:22: warning: declaration of 'PixelAnt' shadows a previous local [-Wshadow=compatible-local] 159 | unsigned int PixelAnt; | ^~~~~~~~ -
video_filter/hqdn3d.h:170:26: warning: declaration of 'PixelDst' shadows a previous local [-Wshadow=compatible-local] 170 | unsigned int PixelDst; | ^~~~~~~~ -
video_filter/oldmovie.c:460:44: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 460 | if ( abs( p_sys->i_sliding_ofs ) < abs( p_sys->i_sliding_speed | ^~~ -
video_filter/vhs.c:473:44: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 473 | if ( abs( p_sys->i_sliding_ofs ) < abs( p_sys->i_sliding_speed | ^~~ -
video_filter/puzzle_bezier.c:86:22: warning: using integer absolute value function 'abs' when argument is of floating-point type 'float' [-Wabsolute-value] 86 | if ( abs ( f_bez_y ) > ( f_bez_x * ( 0.9 * ((float)i_lines) / ((float)i_width) ) ) ) | ^~~ -
video_filter/puzzle_bezier.c:90:22: warning: using integer absolute value function 'abs' when argument is of floating-point type 'float' [-Wabsolute-value] 90 | if ( abs ( f_bez_y ) > ( ( ((float)i_width) - f_bez_x ) * ( 0.9 * ((float)i_lines) / ((float)i_width) ) ) ) | ^~~ -
video_output/opengl/fragment_shaders.c:616:9: warning: 'tone_mapping_algo' is deprecated [-Wdeprecated-declarations] 616 | color_params.tone_mapping_algo = var_InheritInteger(tc->gl, "tone-mapping"); | ^~~~~~~~~~~~ -
video_output/opengl/fragment_shaders.c:619:9: warning: 'desaturation_strength' is deprecated [-Wdeprecated-declarations] 619 | color_params.desaturation_strength = var_InheritFloat(tc->gl, "desat-strength"); | ^~~~~~~~~~~~ -
video_output/opengl/fragment_shaders.c:620:9: warning: 'desaturation_exponent' is deprecated [-Wdeprecated-declarations] 620 | color_params.desaturation_exponent = var_InheritFloat(tc->gl, "desat-exponent"); | ^~~~~~~~~~~~ -
video_output/opengl/fragment_shaders.c:621:9: warning: 'desaturation_base' is deprecated [-Wdeprecated-declarations] 621 | color_params.desaturation_base = var_InheritFloat(tc->gl, "desat-base"); | ^~~~~~~~~~~~ -
video_output/opengl/fragment_shaders.c:622:9: warning: 'max_boost' is deprecated [-Wdeprecated-declarations] 622 | color_params.max_boost = var_InheritFloat(tc->gl, "max-boost"); | ^~~~~~~~~~~~ -
video_output/opengl/fragment_shaders.c:626:9: warning: 'gamut_warning' is deprecated [-Wdeprecated-declarations] 626 | color_params.gamut_warning = var_InheritBool(tc->gl, "tone-mapping-warn"); | ^~~~~~~~~~~~ -
video_output/opengl/display.c:71:5: warning: 'desaturation_strength' is deprecated [-Wdeprecated-declarations] 71 | add_glopts () | ^~~~~~~~~~ -
video_output/opengl/display.c:71:5: warning: 'desaturation_exponent' is deprecated [-Wdeprecated-declarations] 71 | add_glopts () | ^~~~~~~~~~ -
video_output/opengl/display.c:71:5: warning: 'desaturation_base' is deprecated [-Wdeprecated-declarations] 71 | add_glopts () | ^~~~~~~~~~ -
video_output/opengl/display.c:71:5: warning: 'max_boost' is deprecated [-Wdeprecated-declarations] 71 | add_glopts () | ^~~~~~~~~~ -
video_output/wayland/shell.c:197:1: warning: missing initializer for field 'name' of 'const struct wl_output_listener' [-Wmissing-field-initializers] 197 | }; | ^ -
media_list.c:255:2: warning: #warning Missing error handling! [-Wcpp] 255 | #warning Missing error handling! | ^~~~~~~ -
media_list_player.c:822:22: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 822 | if (!path || ret != 0) | ~~~~^~~~