Commit f82163cf authored by Reimar Döffinger's avatar Reimar Döffinger Committed by Ronald S. Bultje
Browse files

Use consistent condition for whether to run slice-threading execute function.

Signed-off-by: default avatarRonald S. Bultje <>
parent 17ca374c
......@@ -2301,7 +2301,7 @@ static int decode_chunks(AVCodecContext *avctx,
if (avctx->thread_count > 1 && s->slice_count) {
if (HAVE_THREADS && (avctx->active_thread_type&FF_THREAD_SLICE) && s->slice_count) {
int i;
avctx->execute(avctx, slice_decode_thread,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment