audioscrobbler: played_time is not an mtime_t
authorSteve Lhomme <robux4@ycbcr.xyz>
Tue, 12 Jun 2018 10:07:11 +0000 (12:07 +0200)
committerSteve Lhomme <robux4@ycbcr.xyz>
Thu, 14 Jun 2018 14:15:24 +0000 (16:15 +0200)
convert to seconds using mtime_to_sec()

modules/misc/audioscrobbler.c

index e4e31b6..4b95d44 100644 (file)
@@ -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);