diff options
Diffstat (limited to 'sub/find_subfiles.h')
-rw-r--r-- | sub/find_subfiles.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sub/find_subfiles.h b/sub/find_subfiles.h index d11c02627b..85b491f1f9 100644 --- a/sub/find_subfiles.h +++ b/sub/find_subfiles.h @@ -19,6 +19,8 @@ #ifndef MPLAYER_FIND_SUBFILES_H #define MPLAYER_FIND_SUBFILES_H +#include <stdbool.h> + struct subfn { int priority; char *fname; @@ -28,4 +30,6 @@ struct subfn { struct mpv_global; struct subfn *find_text_subtitles(struct mpv_global *global, const char *fname); +bool mp_might_be_subtitle_file(const char *filename); + #endif /* MPLAYER_FINDFILES_H */ |