Mercurial > mplayer.hg
diff libmpdemux/stream_file.c @ 15452:de27bb6ff3ec
make file:// prefix work
author | nicodvb |
---|---|
date | Sat, 14 May 2005 08:15:37 +0000 |
parents | 1e42749917c8 |
children | 7c272bfba96f |
line wrap: on
line diff
--- a/libmpdemux/stream_file.c Sat May 14 07:52:47 2005 +0000 +++ b/libmpdemux/stream_file.c Sat May 14 08:15:37 2005 +0000 @@ -14,14 +14,16 @@ static struct stream_priv_s { char* filename; + char* dummy_hostname; } stream_priv_dflts = { - NULL + NULL, NULL }; #define ST_OFF(f) M_ST_OFF(struct stream_priv_s,f) /// URL definition static m_option_t stream_opts_fields[] = { {"filename", ST_OFF(filename), CONF_TYPE_STRING, 0, 0 ,0, NULL}, + {"hostname", ST_OFF(dummy_hostname), CONF_TYPE_STRING, 0, 0, 0, NULL }, { NULL, NULL, 0, 0, 0, 0, NULL } }; static struct m_struct_st stream_opts = {