summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
Diffstat (limited to 'sub')
-rw-r--r--sub/sd_ass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/sd_ass.c b/sub/sd_ass.c
index 55f0d09edb..2b41214153 100644
--- a/sub/sd_ass.c
+++ b/sub/sd_ass.c
@@ -748,7 +748,7 @@ static struct sd_times get_times(struct sd *sd, double pts)
ASS_Track *track = ctx->ass_track;
struct sd_times res = { .start = MP_NOPTS_VALUE, .end = MP_NOPTS_VALUE };
- if (pts == MP_NOPTS_VALUE || ctx->duration_unknown)
+ if (pts == MP_NOPTS_VALUE)
return res;
long long ipts = find_timestamp(sd, pts);