[vlc-commits] es_out: constify p_master_clock
Thomas Guillem
git at videolan.org
Mon Apr 12 07:49:41 UTC 2021
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Mar 31 15:59:34 2021 +0200| [7608fb400894e39316280eba79998af52afd08c2] | committer: Thomas Guillem
es_out: constify p_master_clock
Since it's used as a "weak ref" and should not be accessed directly.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7608fb400894e39316280eba79998af52afd08c2
---
src/input/es_out.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 7dbb5d9a00..99bfd8aa59 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -77,7 +77,7 @@ typedef struct
/* Clock for this program */
input_clock_t *p_input_clock;
vlc_clock_main_t *p_main_clock;
- vlc_clock_t *p_master_clock;
+ const vlc_clock_t *p_master_clock;
vlc_tick_t i_last_pcr;
More information about the vlc-commits
mailing list