summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 98ca062461..a6e00e3736 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -814,7 +814,7 @@ void add_subtitles(char *filename, float fps, int silent)
#ifdef USE_ASS
if (ass_enabled)
asst = ass_read_file(filename);
- if (ass_enabled && !asst)
+ if (ass_enabled && subd && !asst)
asst = ass_read_subdata(subd, fps);
if (!asst && !subd && !silent)