summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_dvdnav.c')
-rw-r--r--stream/stream_dvdnav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index 4d2f2686b5..57e2de633c 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -279,7 +279,7 @@ static int control(stream_t *stream, int cmd, void* arg) {
{
if(priv->duration)
{
- *((unsigned int *)arg) = priv->duration;
+ *((double *)arg) = (double)priv->duration / 1000.0;
return 1;
}
break;