[vlc-devel] commit: access_mms: fix variable type. ( Rémi Duraffort )
git version control
git at videolan.org
Wed Jan 13 09:00:56 CET 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Jan 13 08:53:30 2010 +0100| [bb47a4fa3385c748d9c7249d80bad0076c1102e0] | committer: Rémi Duraffort
access_mms: fix variable type.
This should fix #3236
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bb47a4fa3385c748d9c7249d80bad0076c1102e0
---
modules/access/mms/mmsh.c | 4 ++--
modules/access/mms/mmstu.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/access/mms/mmsh.c b/modules/access/mms/mmsh.c
index d6551ab..0b932c2 100644
--- a/modules/access/mms/mmsh.c
+++ b/modules/access/mms/mmsh.c
@@ -461,7 +461,7 @@ static int Reset( access_t *p_access )
asf_StreamSelect( &p_sys->asfh,
var_CreateGetInteger( p_access, "mms-maxbitrate" ),
- var_CreateGetInteger( p_access, "mms-all" ),
+ var_CreateGetBool( p_access, "mms-all" ),
var_CreateGetInteger( p_access, "audio" ),
var_CreateGetInteger( p_access, "video" ) );
@@ -698,7 +698,7 @@ static int Describe( access_t *p_access, char **ppsz_location )
asf_StreamSelect( &p_sys->asfh,
var_CreateGetInteger( p_access, "mms-maxbitrate" ),
- var_CreateGetInteger( p_access, "mms-all" ),
+ var_CreateGetBool( p_access, "mms-all" ),
var_CreateGetInteger( p_access, "audio" ),
var_CreateGetInteger( p_access, "video" ) );
return VLC_SUCCESS;
diff --git a/modules/access/mms/mmstu.c b/modules/access/mms/mmstu.c
index 12fb209..d4573f9 100644
--- a/modules/access/mms/mmstu.c
+++ b/modules/access/mms/mmstu.c
@@ -805,7 +805,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
p_sys->p_header, p_sys->i_header );
asf_StreamSelect( &p_sys->asfh,
var_CreateGetInteger( p_access, "mms-maxbitrate" ),
- var_CreateGetInteger( p_access, "mms-all" ),
+ var_CreateGetBool( p_access, "mms-all" ),
var_CreateGetInteger( p_access, "audio" ),
var_CreateGetInteger( p_access, "video" ) );
More information about the vlc-devel
mailing list