[vlc-devel] commit: Fixed invalid var_Create type in mmsh. (Laurent Aimar )

git version control git at videolan.org
Thu Feb 11 21:47:44 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Feb 10 23:02:41 2010 +0100| [42ef22bf1a075a9aed089e0e0d1194908432781a] | committer: Laurent Aimar 

Fixed invalid var_Create type in mmsh.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=42ef22bf1a075a9aed089e0e0d1194908432781a
---

 modules/access/mms/mmsh.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/access/mms/mmsh.c b/modules/access/mms/mmsh.c
index fe31cc4..b636f1d 100644
--- a/modules/access/mms/mmsh.c
+++ b/modules/access/mms/mmsh.c
@@ -464,8 +464,8 @@ static int Reset( access_t *p_access )
     asf_StreamSelect( &p_sys->asfh,
                        var_CreateGetInteger( p_access, "mms-maxbitrate" ),
                        var_CreateGetBool( p_access, "mms-all" ),
-                       var_CreateGetInteger( p_access, "audio" ),
-                       var_CreateGetInteger( p_access, "video" ) );
+                       var_CreateGetBool( p_access, "audio" ),
+                       var_CreateGetBool( p_access, "video" ) );
 
     /* Check we have comptible asfh */
     for( i = 1; i < 128; i++ )
@@ -701,8 +701,8 @@ static int Describe( access_t  *p_access, char **ppsz_location )
     asf_StreamSelect( &p_sys->asfh,
                        var_CreateGetInteger( p_access, "mms-maxbitrate" ),
                        var_CreateGetBool( p_access, "mms-all" ),
-                       var_CreateGetInteger( p_access, "audio" ),
-                       var_CreateGetInteger( p_access, "video" ) );
+                       var_CreateGetBool( p_access, "audio" ),
+                       var_CreateGetBool( p_access, "video" ) );
     return VLC_SUCCESS;
 
 error:




More information about the vlc-devel mailing list