[vlc-devel] small mms access fix
Alex Antropoff
alant at transtelecom.md
Wed Jun 6 14:07:21 CEST 2007
--
Regards,
Alex Antropoff
-------------- next part --------------
--- vlc-svn-20070605.orig/modules/access/mms/mmsh.c 2007-05-11 10:55:15.000000000 +0300
+++ vlc-svn-20070605/modules/access/mms/mmsh.c 2007-06-06 15:01:11.763194619 +0300
@@ -566,7 +566,8 @@
p_sys->p_packet = NULL;
E_( GenerateGuid )( &p_sys->guid );
- OpenConnection( p_access );
+ if(OpenConnection( p_access ) <0 )
+ return VLC_EGENERIC;
net_Printf( VLC_OBJECT(p_access), p_sys->fd, NULL,
"Accept: */*\r\n"
@@ -765,7 +766,8 @@
return VLC_EGENERIC;
}
- OpenConnection( p_access );
+ if(OpenConnection( p_access ) <0 )
+ return VLC_EGENERIC;
net_Printf( VLC_OBJECT(p_access), p_sys->fd, NULL,
"Accept: */*\r\n"
More information about the vlc-devel
mailing list