Alexander Strange <[email protected]> writes:

> ---
>  libavcodec/pthread.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c
> index d6b8fb2..c6f4a7e 100644
> --- a/libavcodec/pthread.c
> +++ b/libavcodec/pthread.c
> @@ -875,7 +875,7 @@ static void validate_thread_parameters(AVCodecContext 
> *avctx)
>          avctx->active_thread_type = 0;
>      } else if (frame_threading_supported && (avctx->thread_type & 
> FF_THREAD_FRAME)) {
>          avctx->active_thread_type = FF_THREAD_FRAME;
> -    } else {
> +    } else if (avctx->thread_type & FF_THREAD_SLICE) {
>          avctx->active_thread_type = FF_THREAD_SLICE;
>      }
>  }
> -- 

OK.  What observed problems does this fix, if any?

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to