[vlc-commits] [Git][videolan/vlc][3.0.x] [3.0] demux: flac: prevent seeking logic get stuck
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Jul 4 05:58:56 UTC 2025
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
af3e7af1 by Astrom Cheng at 2025-07-04T05:58:50+00:00
[3.0] demux: flac: prevent seeking logic get stuck
- - - - -
1 changed file:
- modules/demux/flac.c
Changes:
=====================================
modules/demux/flac.c
=====================================
@@ -341,7 +341,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/af3e7af1838e0e0393f68e11abff93ec55a096e6
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/af3e7af1838e0e0393f68e11abff93ec55a096e6
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