On 08/10/2011 03:52 AM, Anton Khirnov wrote:

> From: Baptiste Coudurier <[email protected]>
> 
> Signed-off-by: Anton Khirnov <[email protected]>
> ---
>  libavcodec/utils.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libavcodec/utils.c b/libavcodec/utils.c
> index 64f623c..0abab9a 100644
> --- a/libavcodec/utils.c
> +++ b/libavcodec/utils.c
> @@ -513,7 +513,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext 
> *avctx, AVCodec *codec, AVD
>              av_opt_set_defaults(avctx->priv_data);
>          }
>        }
> -      if (codec->priv_class && (ret = av_opt_set_dict(avctx->priv_data, 
> &tmp) < 0))
> +      if (codec->priv_class && (ret = av_opt_set_dict(avctx->priv_data, 
> &tmp)) < 0)
>            goto free_and_end;
>      } else {
>          avctx->priv_data = NULL;


patch ok.

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

Reply via email to