Mercurial > mplayer.hg
comparison libmpdemux/open.c @ 10594:57bdcdb061d7
Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies.
author | alex |
---|---|
date | Wed, 13 Aug 2003 16:29:32 +0000 |
parents | 11826d9f90c7 |
children | 57b5e42f6a35 |
comparison
equal
deleted
inserted
replaced
10593:27711ab2889f | 10594:57bdcdb061d7 |
---|---|
13 | 13 |
14 #ifdef __FreeBSD__ | 14 #ifdef __FreeBSD__ |
15 #include <sys/cdrio.h> | 15 #include <sys/cdrio.h> |
16 #endif | 16 #endif |
17 | 17 |
18 #include "../m_config.h" | 18 #include "../m_option.h" |
19 #include "stream.h" | 19 #include "stream.h" |
20 #include "demuxer.h" | 20 #include "demuxer.h" |
21 #include "mf.h" | 21 #include "mf.h" |
22 | 22 |
23 #ifdef MPLAYER_NETWORK | 23 #ifdef MPLAYER_NETWORK |
530 //============ Open STDIN or plain FILE ============ | 530 //============ Open STDIN or plain FILE ============ |
531 | 531 |
532 return open_stream_full(filename,STREAM_READ,options,file_format); | 532 return open_stream_full(filename,STREAM_READ,options,file_format); |
533 } | 533 } |
534 | 534 |
535 int dvd_parse_chapter_range(struct config *conf, const char *range){ | 535 int dvd_parse_chapter_range(m_option_t *conf, const char *range){ |
536 const char *s; | 536 const char *s; |
537 char *t; | 537 char *t; |
538 /* conf; prevent warning from GCC */ | 538 /* conf; prevent warning from GCC */ |
539 s = range; | 539 s = range; |
540 dvd_chapter = 1; | 540 dvd_chapter = 1; |