[vlc-commits] [Git][videolan/vlc][master] demux: flac: prevent seeking logic get stuck
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Jun 29 10:21:46 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
020d24e7 by Astrom Cheng at 2025-06-29T10:21:32+00:00
demux: flac: prevent seeking logic get stuck
- - - - -
1 changed file:
- modules/demux/flac.c
Changes:
=====================================
modules/demux/flac.c
=====================================
@@ -343,7 +343,7 @@ static int RefineSeek( demux_t *p_demux, vlc_tick_t i_time, double i_bytemicrora
if( !b_found )
{
- if( i_highpos < i_lowpos || i_highpos - i_lowpos < i_frame_size )
+ if( i_highpos < i_lowpos || i_highpos - i_lowpos <= i_frame_size )
break;
if( VLC_SUCCESS != vlc_stream_Seek( p_demux->s, i_start_pos ) )
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/020d24e7ac0248ee0e6d39247a8b15b526441813
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/020d24e7ac0248ee0e6d39247a8b15b526441813
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list