# HG changeset patch # User diego # Date 1266608333 0 # Node ID 01c447d8cc30ee9ca408bda98059adeb15d532d4 # Parent ed516abd6137516cae55cb7e1b2c38504e06e0b6 Add dvd_parse_chapter_range() to stream_dvd.h instead of forward declaring it. diff -r ed516abd6137 -r 01c447d8cc30 cfg-common.h --- 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 */ diff -r ed516abd6137 -r 01c447d8cc30 stream/stream_dvd.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 #include #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 */