diff options
author | James Zern <jzern@google.com> | 2018-10-27 13:09:27 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2018-10-29 23:07:35 -0700 |
commit | 32d021cfa6520c53da23a10732f9ae9cf28ea948 (patch) | |
tree | 83a14e947a4742c23935abf5ec500c59796fc64f /libpostproc | |
parent | f3bcb9c16a427934a681558a24202bd118e0aa06 (diff) | |
download | ffmpeg-32d021cfa6520c53da23a10732f9ae9cf28ea948.tar.gz |
avcodec/libvpxdec: fix setting auto threads
a thread count of 0 is treated the same as 1, use av_cpu_count() to get
the correct thread count when auto threads is requested.
this matches the fix in libvpxenc:
27df34bf1f avcodec/libvpxenc: fix setting amount of threads used for encoding
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: James Zern <jzern@google.com>
Diffstat (limited to 'libpostproc')
0 files changed, 0 insertions, 0 deletions