Quoting Vittorio Giovara (2014-10-14 17:46:48)
> CC: [email protected]
> Bug-Id: CID 1224275
> ---
>  avconv.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/avconv.c b/avconv.c
> index cd3f6f4..169e534 100644
> --- a/avconv.c
> +++ b/avconv.c
> @@ -1964,7 +1964,9 @@ static int transcode_init(void)
>                  av_log(NULL, AV_LOG_WARNING, "The bitrate parameter is set 
> too low."
>                                               "It takes bits/s as argument, 
> not kbits/s\n");
>          } else {
> -            av_opt_set_dict(ost->enc_ctx, &ost->encoder_opts);
> +            ret = av_opt_set_dict(ost->enc_ctx, &ost->encoder_opts);
> +            if (ret < 0)
> +                return ret;
>          }
>  
>          ret = avcodec_copy_context(ost->st->codec, ost->enc_ctx);
> -- 
> 1.9.3 (Apple Git-50)
> 

Probably ok.

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

Reply via email to