[vlc-commits] audioscrobbler: played_time is not an mtime_t

Steve Lhomme git at videolan.org
Thu Jun 14 16:41:18 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jun 12 12:07:11 2018 +0200| [424c62c391fd27de1314e0c9c1f2d3c9572a2478] | committer: Steve Lhomme

audioscrobbler: played_time is not an mtime_t

convert to seconds using mtime_to_sec()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=424c62c391fd27de1314e0c9c1f2d3c9572a2478
---

 modules/misc/audioscrobbler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/misc/audioscrobbler.c b/modules/misc/audioscrobbler.c
index e4e31b637d..4b95d44718 100644
--- a/modules/misc/audioscrobbler.c
+++ b/modules/misc/audioscrobbler.c
@@ -215,7 +215,7 @@ end:
  *****************************************************************************/
 static void AddToQueue (intf_thread_t *p_this)
 {
-    mtime_t                     played_time;
+    int64_t                     played_time;
     intf_sys_t                  *p_sys = p_this->p_sys;
 
     vlc_mutex_lock(&p_sys->lock);



More information about the vlc-commits mailing list