[vlc-commits] [Git][videolan/vlc][master] demux: adaptive: avoid double recycling chunk source

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Sep 5 02:11:53 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
66045d4c by Martin Finkel at 2026-09-05T02:00:07+00:00
demux: adaptive: avoid double recycling chunk source

- - - - -


1 changed file:

- modules/demux/adaptive/playlist/Segment.cpp


Changes:

=====================================
modules/demux/adaptive/playlist/Segment.cpp
=====================================
@@ -104,7 +104,6 @@ SegmentChunk* ISegment::toChunk(SharedResources *res, size_t index, BaseRepresen
             chunk->discontinuitySequenceNumber = getDiscontinuitySequenceNumber();
             if(!prepareChunk(res, chunk, rep))
             {
-                res->getConnManager()->recycleSource(source);
                 delete chunk;
                 return nullptr;
             }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/66045d4c03a5e1b6931f2d54e3ebb802ba3d529e

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