[vlc-commits] [Git][videolan/vlc][master] ogg: fix parsing skeleton packets with invalid granulepos

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



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


Commits:
09491061 by Jonas Dittrich at 2026-04-29T14:39:27+02:00
ogg: fix parsing skeleton packets with invalid granulepos

- - - - -


1 changed file:

- modules/demux/ogg.c


Changes:

=====================================
modules/demux/ogg.c
=====================================
@@ -1309,6 +1309,10 @@ static void Ogg_DecodePacket( demux_t *p_demux,
         Ogg_ReadSkeletonIndex( p_demux, p_oggpacket );
         return;
     }
+    else if ( p_stream == p_sys->p_skelstream ) {
+        // skeleton streams do not have any data packets
+        return;
+    }
     else if( p_stream->fmt.i_codec == VLC_CODEC_VP8 &&
              p_oggpacket->bytes >= 7 &&
              !memcmp( p_oggpacket->packet, "OVP80\x02\x20", 7 ) )



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

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




More information about the vlc-commits mailing list