summaryrefslogtreecommitdiffstats
path: root/sub/dec_sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'sub/dec_sub.c')
-rw-r--r--sub/dec_sub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sub/dec_sub.c b/sub/dec_sub.c
index 410d5a3214..a31cad77bc 100644
--- a/sub/dec_sub.c
+++ b/sub/dec_sub.c
@@ -359,7 +359,6 @@ void sub_get_bitmaps(struct dec_sub *sub, struct mp_osd_res dim, int format,
char *sub_get_text(struct dec_sub *sub, double pts)
{
pthread_mutex_lock(&sub->lock);
- struct mp_subtitle_opts *opts = sub->opts;
char *text = NULL;
pts = pts_to_subtitle(sub, pts);