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

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Thu Apr 30 11:48:29 UTC 2026



Felix Paul Kühne pushed to branch 3.0.x at VideoLAN / VLC


Commits:
96e0c495 by Martin Finkel at 2026-04-30T13:33:48+02:00
access/ftp: fix va_arg type for STREAM_SET_PAUSE_STATE

(cherry picked from commit 8631ad9937c404762105f6424c87593b3ba15f7e)

- - - - -


1 changed file:

- modules/access/ftp.c


Changes:

=====================================
modules/access/ftp.c
=====================================
@@ -1097,8 +1097,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/96e0c495dfc9a7ffdd84d32096239ea65569a15e

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




More information about the vlc-commits mailing list