#776 FFDec stop working at all after setting "number of threads" to 0 fixed

This commit is contained in:
honfika@gmail.com
2015-01-21 12:59:07 +01:00
parent 4afa3c4ac1
commit dfd3166bb9
5 changed files with 14 additions and 5 deletions

View File

@@ -1059,7 +1059,7 @@ public class SWFInputStream implements AutoCloseable {
ExecutorService executor = null;
List<Future<Tag>> futureResults = new ArrayList<>();
if (parallel) {
executor = Executors.newFixedThreadPool(Configuration.parallelThreadCount.get());
executor = Executors.newFixedThreadPool(Configuration.getParallelThreadCount());
futureResults = new ArrayList<>();
}
List<Tag> tags = new ArrayList<>();