Skip to content

Commit

Permalink
Check for invalid adaptationsets
Browse files Browse the repository at this point in the history
  • Loading branch information
peak3d committed Nov 2, 2018
1 parent 5a7d53a commit 20c18dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2116,6 +2116,9 @@ bool Session::initialize(const std::uint8_t config, uint32_t max_user_bandwidth)

while ((adp = adaptiveTree_->GetAdaptationSet(i++)))
{
if (adp->repesentations_.empty())
continue;

size_t repId = manual_streams_ ? adp->repesentations_.size() : 0;

do {
Expand Down

0 comments on commit 20c18dc

Please sign in to comment.