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 2e2874242b..ad289c8779 100644
--- a/vobsub.c
+++ b/vobsub.c
@@ -1278,7 +1278,7 @@ void vobsub_seek(void * vobhandle, float pts)
queue->current_index = 0;
while ((queue->packets + queue->current_index)->pts100 < seek_pts100)
++queue->current_index;
- if (queue->current_index > 0);
+ if (queue->current_index > 0)
--queue->current_index;
}
}