[vlc-commits] [Git][videolan/vlc][3.0.x] demux: adaptive: fix potential dead loop with non block methods
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Sun Jun 29 12:55:59 UTC 2025
Felix Paul Kühne pushed to branch 3.0.x at VideoLAN / VLC
Commits:
7008fb63 by François Cartegnie at 2025-06-29T12:24:12+00:00
demux: adaptive: fix potential dead loop with non block methods
(cherry picked from commit 62961d2a402a72978f124f2ca904057a4e7b97fb)
- - - - -
1 changed file:
- modules/demux/adaptive/http/Chunk.cpp
Changes:
=====================================
modules/demux/adaptive/http/Chunk.cpp
=====================================
@@ -529,7 +529,7 @@ block_t * HTTPChunkBufferedSource::read(size_t readsize)
copied += toconsume;
readsize -= toconsume;
inblockreadoffset += toconsume;
- if(inblockreadoffset >= p_head->i_buffer)
+ if(inblockreadoffset >= p_read->i_buffer)
{
p_read = p_read->p_next;
inblockreadoffset = 0;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7008fb63145739b30b0a616cf1f524a6fb44a7f7
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7008fb63145739b30b0a616cf1f524a6fb44a7f7
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