Skip to content

adaptive: BufferingLogic: fix typo in check

Warning from clang:

../../modules/demux/adaptive/logic/BufferingLogic.cpp: In member function ‘uint64_t adaptive::logic::DefaultBufferingLogic::getLiveStartSegmentNumber(adaptive::playlist::BaseRepresentation*) const’:
../../modules/demux/adaptive/logic/BufferingLogic.cpp:363:30: warning: ‘this’ pointer is null [-Wnonnull]
  363 |         if(!timeline->isValid())
      |             ~~~~~~~~~~~~~~~~~^~

Typo from 573752cf

I haven't reproduced a situation where it would NULL-dereference yet.

Edited by François Cartegnie

Merge request reports

Loading