[vlc-commits] [Git][videolan/vlc][master] vlc_tracer: fix union target member

François Cartegnie (@fcartegnie) gitlab at videolan.org
Thu Dec 29 16:17:37 UTC 2022



François Cartegnie pushed to branch master at VideoLAN / VLC


Commits:
b8cec147 by Francois Cartegnie at 2022-12-29T16:06:01+00:00
vlc_tracer: fix union target member

- - - - -


1 changed file:

- include/vlc_tracer.h


Changes:

=====================================
include/vlc_tracer.h
=====================================
@@ -106,7 +106,7 @@ VLC_API void vlc_tracer_TraceWithTs(struct vlc_tracer *tracer, vlc_tick_t ts, ..
 static inline struct vlc_tracer_entry vlc_tracer_entry_FromTick(const char *key, vlc_tick_t value)
 {
     vlc_tracer_value_t tracer_value;
-    tracer_value.integer = value;
+    tracer_value.tick = value;
     struct vlc_tracer_entry trace = { key, tracer_value, VLC_TRACER_TICK };
     return trace;
 }



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

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