538df8074644b5d8cb9cb59f28a4d24535e5fe1a
[goodguy/history.git] / cinelerra-5.0 / thirdparty / src / x265.patch1
1 diff -ru a/source/encoder/encoder.cpp b/source/encoder/encoder.cpp
2 --- a/source/encoder/encoder.cpp        2016-01-24 22:16:50.000000000 -0700
3 +++ b/source/encoder/encoder.cpp        2016-02-21 09:02:20.443636332 -0700
4 @@ -361,7 +361,10 @@
5      }
6  
7      if (m_threadPool)
8 -        m_threadPool->stopWorkers();
9 +    {
10 +        for (int i = 0; i < m_numPools; i++)
11 +            m_threadPool[i].stopWorkers();
12 +    }
13  }
14  
15  void Encoder::destroy()