changeset 30615:01c447d8cc30

Add dvd_parse_chapter_range() to stream_dvd.h instead of forward declaring it.
author diego
date Fri, 19 Feb 2010 19:38:53 +0000
parents ed516abd6137
children c104d493d690
files cfg-common.h stream/stream_dvd.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Fri Feb 19 13:50:16 2010 +0000
+++ b/cfg-common.h	Fri Feb 19 19:38:53 2010 +0000
@@ -370,6 +370,4 @@
 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 */
--- a/stream/stream_dvd.h	Fri Feb 19 13:50:16 2010 +0000
+++ b/stream/stream_dvd.h	Fri Feb 19 19:38:53 2010 +0000
@@ -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_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 */