[vlc-commits] [Git][videolan/vlc][master] archive: fix read pointer argument

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Nov 22 10:22:41 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
3d75d3df by Thomas Guillem at 2024-11-22T09:55:14+00:00
archive: fix read pointer argument

- - - - -


1 changed file:

- modules/stream_extractor/archive.c


Changes:

=====================================
modules/stream_extractor/archive.c
=====================================
@@ -190,8 +190,8 @@ static la_ssize_t libarchive_read_cb( libarchive_t* p_arc, void* p_obj,
     stream_t*  p_source = p_cb->p_source;
     private_sys_t* p_sys = p_cb->p_sys;
 
-    ssize_t i_ret = vlc_stream_Read( p_source, &p_sys->buffer,
-      sizeof( p_sys->buffer ) );
+    ssize_t i_ret = vlc_stream_Read( p_source, p_sys->buffer,
+                                     sizeof( p_sys->buffer ) );
 
     if( i_ret < 0 )
     {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3d75d3df86eccdcd799449ee68118dfc6ae9f63a

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


VideoLAN code repository instance


More information about the vlc-commits mailing list