[vlc-commits] [Git][videolan/vlc][master] es_out: remove unused variable

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Tue Mar 21 10:11:52 UTC 2023



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


Commits:
f9b271e0 by Khalid Masum at 2023-03-21T09:51:57+00:00
es_out: remove unused variable

Creation and initialization of p_sys in EsOutSetEsDelay is not
necessary as it is performed in EsOutUpdateDelayJitter later
anyway.

- - - - -


1 changed file:

- src/input/es_out.c


Changes:

=====================================
src/input/es_out.c
=====================================
@@ -719,8 +719,6 @@ static void EsOutUpdateDelayJitter(es_out_t *out)
 
 static void EsOutSetEsDelay(es_out_t *out, es_out_id_t *es, vlc_tick_t delay)
 {
-    es_out_sys_t *p_sys = container_of(out, es_out_sys_t, out);
-
     assert(es->fmt.i_cat == AUDIO_ES || es->fmt.i_cat == SPU_ES);
 
     es->delay = delay;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f9b271e02b56aec3c0d4c9fb691f06bad6d47e21

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f9b271e02b56aec3c0d4c9fb691f06bad6d47e21
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