summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-02-26 20:47:49 +0100
committerUoti Urpala <uau@mplayer2.org>2011-04-20 04:22:52 +0300
commit9bcfbe4d4ff8c40fff45798ae7f907118218c17b (patch)
tree07a19edff1d9e82b45fedb31f10674d899848df7 /mplayer.c
parent4587f030ccded80f3ddb21dab2bca36af42fe497 (diff)
downloadmpv-9bcfbe4d4ff8c40fff45798ae7f907118218c17b.tar.bz2
mpv-9bcfbe4d4ff8c40fff45798ae7f907118218c17b.tar.xz
find_subfiles: move sub_filenames() here
Move sub_filenames() and related code from subreader.c to new file find_subfiles.c. This function is used to find subtitle files that should be loaded for the current video; this functionality is not specific to the particular kind of text subtitle handling implemented in subreader.c. Also reindent and prettify the moved code a bit.
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 645ce35e98..34e98d699d 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -72,6 +72,7 @@
#include "libavutil/avstring.h"
#include "sub/subreader.h"
+#include "sub/find_subfiles.h"
#include "sub/dec_sub.h"
#include "mp_osd.h"