support for pnm and rtsp stream opening with gui, patch by Ambrose Li <a.c.li@ieee.org>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10161 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-05-23 12:58:13 +00:00
parent 13fd5a7fca
commit f647802a3f
1 changed files with 5 additions and 1 deletions

View File

@ -66,7 +66,11 @@ static void on_Button_pressed( GtkButton * button,gpointer user_data )
if ( str )
{
if ( strncmp( str,"http://",7 ) && strncmp( str,"ftp://",6 ) && strncmp( str,"mms://",6 ) )
if ( strncmp( str,"http://",7 )
&& strncmp( str,"ftp://",6 )
&& strncmp( str,"mms://",6 )
&& strncmp( str,"pnm://",6 )
&& strncmp( str,"rtsp://",7 ) )
{
gchar * tmp;
tmp=malloc( strlen( str ) + 8 );