On 2/13/13 7:51 PM, Anton Khirnov wrote:
> @@ -1502,6 +1502,8 @@ av_cold int ff_rv34_decode_init(AVCodecContext *avctx)
>      if(!intra_vlcs[0].cbppattern[0].bits)
>          rv34_init_tables();
>  
> +    avctx->internal->allocate_progress = 1;
> +
>      return 0;
>  }
>  
> @@ -1519,6 +1521,9 @@ int ff_rv34_decode_init_thread_copy(AVCodecContext 
> *avctx)
>          if ((err = rv34_decoder_alloc(r)) < 0)
>              return err;
>      }
> +
> +    avctx->internal->allocate_progress = 1;
> +

why you need to set it in both?

The rest looks ok.

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

Reply via email to