summaryrefslogtreecommitdiffstats
path: root/vobsub.c
diff options
context:
space:
mode:
Diffstat (limited to 'vobsub.c')
-rw-r--r--vobsub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vobsub.c b/vobsub.c
index 82ce4f0a1f..8152e6e795 100644
--- a/vobsub.c
+++ b/vobsub.c
@@ -1343,7 +1343,7 @@ void vobsub_seek(void * vobhandle, float pts)
{
vobsub_t * vob = (vobsub_t *)vobhandle;
packet_queue_t * queue;
- int seek_pts100 = (int)pts * 90000;
+ int seek_pts100 = pts * 90000;
if (vob->spu_streams && 0 <= vobsub_id && (unsigned) vobsub_id < vob->spu_streams_size) {
/* do not seek if we don't know the id */