openh264/codec
Martin Storsjö 2f6a986d7c Remove a needless, no-op change of the number of threads
If kiCpuCores < 2, then iCountThreadsNum (and iMultipleThreadIdc)
can't be >= 2, because they're initialized with
WELS_MIN (kiCpuCores, ...) just a few lines above.

If iMultipleThreadIdc is initially set to 0 by the caller, this
removed piece of code would change it to 1, if kiCpuCores < 2.

When iMultipleThreadIdc is changed from the originally set value,
a call to WelsEncoderParamAdjust with the original parameters
would reset the whole codec since iMultipleThreadIdc differs.

This fixes running EncoderInterfaceTest.TemporalLayerSettingTest
on machines where the detected number of cores is 1.
2014-08-08 22:26:59 +03:00
..
api/svc Merge pull request #1242 from huili2/test_dataformat 2014-08-01 12:27:38 +08:00
build add arm 32/64 code and UT for SVC SCC motion estimation 2014-08-06 17:24:36 +08:00
common Add attributes incidating intentional data type aliasing 2014-08-08 11:34:45 +03:00
console setget_dataformat_ut 2014-07-28 18:41:58 -07:00
decoder setget_dataformat_ut 2014-07-28 18:41:58 -07:00
encoder Remove a needless, no-op change of the number of threads 2014-08-08 22:26:59 +03:00
processing Add sad arm64 code to processing. 2014-08-05 11:23:38 +08:00