[vlc-commits] [Git][videolan/vlc][3.0.x] ogg : fix demux control to get attachements

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Thu Jan 13 17:43:39 UTC 2022



Hugo Beauzée-Luyssen pushed to branch 3.0.x at VideoLAN / VLC


Commits:
0f21d3ec by Maxime Chapelet at 2022-01-12T16:17:41+00:00
ogg : fix demux control to get attachements

(cherry picked from commit 19fc95b3eace9f53dbfebdfcfc53af2fa48551ad)

- - - - -


1 changed file:

- modules/demux/ogg.c


Changes:

=====================================
modules/demux/ogg.c
=====================================
@@ -831,7 +831,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                 return VLC_EGENERIC;
 
             *ppp_attach = vlc_alloc( p_sys->i_attachments, sizeof(input_attachment_t*) );
-            if (!**ppp_attach)
+            if (!*ppp_attach)
                 return VLC_ENOMEM;
             *pi_int = p_sys->i_attachments;
             for( int i = 0; i < p_sys->i_attachments; i++ )



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0f21d3ec9492658370ef8e9788fc8a3720aea2da

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




More information about the vlc-commits mailing list