On 17/07/15 14:11, Tom Butterworth wrote:
> From: Carl Eugen Hoyos <[email protected]>
> 
> ---
>  libavcodec/hapdec.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/libavcodec/hapdec.c b/libavcodec/hapdec.c
> index 72db9f4..ca1c158 100644
> --- a/libavcodec/hapdec.c
> +++ b/libavcodec/hapdec.c
> @@ -177,7 +177,8 @@ static int hap_decode(AVCodecContext *avctx, void *data,
>      ret = ff_thread_get_buffer(avctx, &tframe, 0);
>      if (ret < 0)
>          return ret;
> -    ff_thread_finish_setup(avctx);
> +    if (avctx->codec->update_thread_context)
> +        ff_thread_finish_setup(avctx);
>  
>      /* Use the decompress function on the texture, one block per thread */
>      avctx->execute2(avctx, decompress_texture_thread, tframe.f, NULL, 
> blocks);
> 

Does not apply that I can see.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to