[vlc-commits] vcdx: syntax error

Rémi Denis-Courmont git at videolan.org
Sat Aug 8 14:03:41 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug  8 15:03:30 2015 +0300| [06b8c229ce270a80386b223b60d1119077dfbe6e] | committer: Rémi Denis-Courmont

vcdx: syntax error

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

 modules/access/vcdx/access.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/vcdx/access.c b/modules/access/vcdx/access.c
index 4ee3c3b..a5345f0 100644
--- a/modules/access/vcdx/access.c
+++ b/modules/access/vcdx/access.c
@@ -1083,7 +1083,7 @@ static int VCDControl( access_t *p_access, int i_query, va_list args )
         break;
 
     case ACCESS_GET_CONTENT_TYPE:
-        *va_arg = strdup( "video/mpeg" );
+        *va_arg( args, char ** ) = strdup( "video/mpeg" );
         break;
 
     case ACCESS_SET_TITLE:



More information about the vlc-commits mailing list