[vlc-commits] [Git][videolan/vlc][master] 3 commits: demux: adaptive: use correct format specifier

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Wed Apr 13 06:08:47 UTC 2022



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
311e0303 by Marvin Scholz at 2022-04-13T05:52:25+00:00
demux: adaptive: use correct format specifier

- - - - -
52b5a5d6 by Marvin Scholz at 2022-04-13T05:52:25+00:00
sout: chromecast: silence unused variable warning

- - - - -
c50ab587 by Marvin Scholz at 2022-04-13T05:52:25+00:00
auhal: remove write-only variable

This variable was only written to and never read, making it useless.

- - - - -


3 changed files:

- modules/audio_output/auhal.c
- modules/demux/adaptive/Streams.cpp
- modules/stream_out/chromecast/chromecast_demux.cpp


Changes:

=====================================
modules/audio_output/auhal.c
=====================================
@@ -1478,7 +1478,6 @@ Stop(audio_output_t *p_aout)
 static int
 Start(audio_output_t *p_aout, audio_sample_format_t *restrict fmt)
 {
-    UInt32                  i_param_size = 0;
     aout_sys_t              *p_sys = NULL;
 
     /* Use int here, to match kAudioDevicePropertyDeviceIsAlive
@@ -1528,7 +1527,6 @@ Start(audio_output_t *p_aout, audio_sample_format_t *restrict fmt)
                                  CFRangeMake(0, count), deviceNumber))
         {
             /* Check if the desired device is alive and usable */
-            i_param_size = sizeof(b_alive);
             int ret = AO_GET1PROP(p_sys->i_selected_dev, int, &b_alive,
                                   kAudioDevicePropertyDeviceIsAlive,
                                   kAudioObjectPropertyScopeGlobal);


=====================================
modules/demux/adaptive/Streams.cpp
=====================================
@@ -459,7 +459,7 @@ AbstractStream::BufferingStatus AbstractStream::doBufferize(Times deadline,
             }
             else
             {
-                msg_Dbg(p_realdemux, "Waiting sync reference for seq %ld", currentSequence);
+                msg_Dbg(p_realdemux, "Waiting sync reference for seq %" PRIu64, currentSequence);
                 vlc_mutex_unlock(&lock);
                 return BufferingStatus::Suspended;
             }


=====================================
modules/stream_out/chromecast/chromecast_demux.cpp
=====================================
@@ -289,7 +289,7 @@ struct demux_cc
         return ret;
     }
 
-    int Control( demux_t *p_demux_filter, int i_query, va_list args )
+    int Control( demux_t *, int i_query, va_list args )
     {
         if( !m_enabled && i_query != DEMUX_FILTER_ENABLE )
             return demux_vaControl( p_demux->s, i_query, args );



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/c8d2923ee988ea99bef414de91a57f7b71452ef7...c50ab587e7e0416ab64debbd3b98aae3c76dc0b8

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/c8d2923ee988ea99bef414de91a57f7b71452ef7...c50ab587e7e0416ab64debbd3b98aae3c76dc0b8
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list