On Fri, 15 Apr 2016 10:50:10 +0200
Anton Khirnov <[email protected]> wrote:

> ---
>  libavutil/hwcontext.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c
> index ac1e2c9..9ffc718 100644
> --- a/libavutil/hwcontext.c
> +++ b/libavutil/hwcontext.c
> @@ -209,6 +209,7 @@ AVBufferRef *av_hwframe_ctx_alloc(AVBufferRef 
> *device_ref_in)
>      ctx->device_ref = device_ref;
>      ctx->device_ctx = device_ctx;
>      ctx->format     = AV_PIX_FMT_NONE;
> +    ctx->sw_format  = AV_PIX_FMT_NONE;
>  
>      ctx->internal->hw_type = hw_type;
>  

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

Reply via email to