[vlc-commits] [Git][videolan/vlc][master] access/ftp: fix va_arg type for STREAM_SET_PAUSE_STATE

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Apr 10 08:37:15 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
8631ad99 by Martin Finkel at 2026-04-10T08:20:01+00:00
access/ftp: fix va_arg type for STREAM_SET_PAUSE_STATE

- - - - -


1 changed file:

- modules/access/ftp.c


Changes:

=====================================
modules/access/ftp.c
=====================================
@@ -1230,8 +1230,7 @@ static int Control( stream_t *p_access, int i_query, va_list args )
             break;
 
         case STREAM_SET_PAUSE_STATE:
-            pb_bool = va_arg( args, bool * );
-            if ( !pb_bool )
+            if ( !va_arg( args, int ) )
                  return Seek( p_access, sys->offset );
             break;
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8631ad9937c404762105f6424c87593b3ba15f7e

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8631ad9937c404762105f6424c87593b3ba15f7e
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list