summaryrefslogtreecommitdiffstats
path: root/sub/dec_sub.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-09-21 19:08:14 +0200
committerwm4 <wm4@nowhere>2019-09-21 19:08:14 +0200
commitd34421f4f96804298b3846d5c73f71f86d762700 (patch)
tree27c79de376f4828f4127fac4df1afef2b11457eb /sub/dec_sub.c
parent4614d432a8d21ab135af25a183f57efd5059bb62 (diff)
downloadmpv-d34421f4f96804298b3846d5c73f71f86d762700.tar.bz2
mpv-d34421f4f96804298b3846d5c73f71f86d762700.tar.xz
dec_sub: remove unused declaration
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);