summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 10a7773d6e..f1dcc62507 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1657,8 +1657,10 @@ if(sh_video) {
add_subtitles (*tmp2++, sh_video->fps, 0);
free(tmp);
if (set_of_sub_size == 0)
+ {
add_subtitles (mem_ptr=get_path("default.sub"), sh_video->fps, 1);
free(mem_ptr); // release the buffer created by get_path()
+ }
if (set_of_sub_size > 0)
add_subtitles (NULL, sh_video->fps, 1);
}