Commit 0362d902221ac030558fa83a4644521018a577c5

Authored by Josh Klontz
1 parent a8a73c1e

fixed potential indexing into an empty list

Showing 1 changed file with 1 additions and 0 deletions
sdk/plugins/stream.cpp
... ... @@ -680,6 +680,7 @@ public:
680 680 stage_variance.append(transform->timeVarying());
681 681 thread_count += transform->timeVarying() ? 1 : threads_per_multi_stage;
682 682 }
  683 + if (transforms.isEmpty()) return;
683 684  
684 685 // Set up the thread pool, 1 stage for each transform, as well as first
685 686 // and last stages, but the first stage is operated by the thread that
... ...