Skip to content

Commit 4f31a4b

Browse files
committed
fixup
1 parent 3819cc5 commit 4f31a4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Session.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,8 +549,8 @@ bool SESSION::CSession::PrepareStream(CStream* stream, uint64_t startPts)
549549
if ((!m_adaptiveTree->IsChangingPeriod() || repr->Timeline().IsEmpty()) &&
550550
(startEvent == EVENT_TYPE::STREAM_START || startEvent == EVENT_TYPE::STREAM_ENABLE))
551551
{
552-
// check return
553-
m_adaptiveTree->PrepareRepresentation(period, adp, repr);
552+
if (!m_adaptiveTree->PrepareRepresentation(period, adp, repr))
553+
return false;
554554
}
555555
}
556556

0 commit comments

Comments
 (0)