aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/xan.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-03-02 13:08:15 +0000
committerMans Rullgard <mans@mansr.com>2011-03-02 14:06:48 +0000
commitff1efc524cb3c60f2f746e3b4550bb1a86c65316 (patch)
tree2547329a4c29b94a7246a509f46d036d7e79ce28 /libavcodec/xan.c
parentfb985071263e6b3daff1c3d987df482b0146c2a0 (diff)
downloadffmpeg-ff1efc524cb3c60f2f746e3b4550bb1a86c65316.tar.gz
threads: allow thread count of zero
This moves setting the thread count to a minimum of 1 to frame_thread_init(), allowing a value of zero to propagate through to the codec if frame threading is not used. This makes auto-threads work in libx264. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/xan.c')
0 files changed, 0 insertions, 0 deletions