[vlc-commits] [Git][videolan/vlc][3.0.x] demux: mkv: reset cached reading cluster when it's not usable
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Jul 26 14:02:30 UTC 2026
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
ba9ca717 by Steve Lhomme at 2026-07-26T13:46:29+00:00
demux: mkv: reset cached reading cluster when it's not usable
Fixes #29517
(cherry picked from commit e837f950ef81e7735c28692c558955f9f650bbe0)
- - - - -
1 changed file:
- modules/demux/mkv/matroska_segment_seeker.cpp
Changes:
=====================================
modules/demux/mkv/matroska_segment_seeker.cpp
=====================================
@@ -490,7 +490,10 @@ SegmentSeeker::mkv_jump_to( matroska_segment_c& ms, fptr_t fpos )
return;
}
if (!MKV_IS_ID( el, KaxCluster ))
- continue; // look for the next element
+ {
+ 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/ba9ca717dd2031af76563485797046e2464da466
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ba9ca717dd2031af76563485797046e2464da466
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