Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
54a20175 by François Cartegnie at 2026-02-10T12:56:34+00:00
demux: ogg: fix regression with backup headers

regression by 532e81b9395c6ca169b7b7fe7da7104825350c6a

refs #29594

- - - - -


1 changed file:

- modules/demux/ogg.c


Changes:

=====================================
modules/demux/ogg.c
=====================================
@@ -1394,7 +1394,7 @@ static void Ogg_DecodePacket( demux_t *p_demux,
         }
 
         /* Backup the ogg packet (likely an header packet) */
-        if( !b_xiph && p_stream->i_headers )
+        if( !b_xiph && (p_stream->i_headers + p_oggpacket->bytes) )
         {
             uint8_t *p_realloc = realloc( p_stream->p_headers, 
p_stream->i_headers + p_oggpacket->bytes );
             if( p_realloc )



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

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


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to