[vlc-commits] [Git][videolan/vlc][master] demux: mkv: reset cached reading cluster when it's not usable
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Jul 23 10:37:24 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
e837f950 by Steve Lhomme at 2026-07-23T10:07:38+00:00
demux: mkv: reset cached reading cluster when it's not usable
Fixes #29517
- - - - -
1 changed file:
- modules/demux/mkv/matroska_segment_seeker.cpp
Changes:
=====================================
modules/demux/mkv/matroska_segment_seeker.cpp
=====================================
@@ -497,7 +497,10 @@ SegmentSeeker::mkv_jump_to( matroska_segment_c& ms, fptr_t fpos )
return;
}
if (!MKV_IS_ID( el, KaxCluster ))
+ {
+ ms.cluster = nullptr; // the previous cluster found is not valid anymore
continue; // look for the next element
+ }
ms.cluster = static_cast<KaxCluster*>( el );
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e837f950ef81e7735c28692c558955f9f650bbe0
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e837f950ef81e7735c28692c558955f9f650bbe0
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