[vlc-commits] [Git][videolan/vlc][master] cvdsub: check block merge

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Thu May 21 11:34:05 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
f5a22c28 by François Cartegnie at 2026-05-21T13:23:35+02:00
cvdsub: check block merge

- - - - -


1 changed file:

- modules/codec/cvdsub.c


Changes:

=====================================
modules/codec/cvdsub.c
=====================================
@@ -254,6 +254,8 @@ static block_t *Reassemble( decoder_t *p_dec, block_t *p_block )
 
     block_ChainAppend( &p_sys->p_spu, p_block );
     p_sys->p_spu = block_ChainGather( p_sys->p_spu );
+    if( !p_sys->p_spu )
+        return NULL;
 
     if( p_sys->p_spu->i_buffer >= p_sys->i_spu_size )
     {



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f5a22c28555aea2d6574188678984608d3c472cd
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list