summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-19 19:38:53 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-19 19:38:53 +0000
commitca81202840dcc690142913183b982ab474bd12ee (patch)
treedd3a5be81211ca91759c872e97b01da117deb18f
parent0599ce10ab56e239b1e79cbcc35e65b391712700 (diff)
downloadmpv-ca81202840dcc690142913183b982ab474bd12ee.tar.bz2
mpv-ca81202840dcc690142913183b982ab474bd12ee.tar.xz
Add dvd_parse_chapter_range() to stream_dvd.h instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30657 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--cfg-common.h2
-rw-r--r--stream/stream_dvd.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 04058e9480..410e7e386e 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -370,6 +370,4 @@ extern const m_option_t noconfig_opts[];
extern const m_option_t lavc_decode_opts_conf[];
extern const m_option_t xvid_dec_opts[];
-int dvd_parse_chapter_range(const m_option_t*, const char*);
-
#endif /* MPLAYER_CFG_COMMON_H */
diff --git a/stream/stream_dvd.h b/stream/stream_dvd.h
index 567d122ba7..1e6c80163a 100644
--- a/stream/stream_dvd.h
+++ b/stream/stream_dvd.h
@@ -26,6 +26,7 @@
#include <dvdread/ifo_read.h>
#include <dvdread/nav_read.h>
#include "stream.h"
+#include "m_option.h"
typedef struct {
dvd_reader_t *dvd;
@@ -61,5 +62,6 @@ int dvd_lang_from_sid(stream_t *stream, int id);
int dvd_aid_from_lang(stream_t *stream, unsigned char* lang);
int dvd_sid_from_lang(stream_t *stream, unsigned char* lang);
int dvd_chapter_from_cell(dvd_priv_t *dvd,int title,int cell);
+int dvd_parse_chapter_range(const m_option_t *conf, const char *range);
#endif /* MPLAYER_STREAM_DVD_H */