[vlc-commits] [Git][videolan/vlc][master] demux: adaptive: fix potential dead loop with non block methods

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed May 28 12:23:56 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
62961d2a by François Cartegnie at 2025-05-28T12:05:37+00:00
demux: adaptive: fix potential dead loop with non block methods

- - - - -


1 changed file:

- modules/demux/adaptive/http/Chunk.cpp


Changes:

=====================================
modules/demux/adaptive/http/Chunk.cpp
=====================================
@@ -526,7 +526,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/62961d2a402a72978f124f2ca904057a4e7b97fb

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/62961d2a402a72978f124f2ca904057a4e7b97fb
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