[libav-devel] [PATCH] avconv: initialize hwaccel_pix_fmt

Luca Barbato lu_zero at gentoo.org
Sat Nov 23 15:06:49 CET 2013


On 23/11/13 14:15, Anton Khirnov wrote:
> Fixes an assertion failure in vdpau_get_buffer() when -hwaccel auto is
> used, but hwaccel init fails.
> ---
>  avconv_opt.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/avconv_opt.c b/avconv_opt.c
> index da8c6e7..d62d11f 100644
> --- a/avconv_opt.c
> +++ b/avconv_opt.c
> @@ -528,6 +528,7 @@ static void add_input_streams(OptionsContext *o, AVFormatContext *ic)
>                  if (!ist->hwaccel_device)
>                      exit_program(1);
>              }
> +            ist->hwaccel_pix_fmt = AV_PIX_FMT_NONE;
>  
>              break;
>          case AVMEDIA_TYPE_AUDIO:
> 

Which assertion?

lu


More information about the libav-devel mailing list