diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-08-08 23:41:50 -0700 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-08-08 23:41:50 -0700 |
commit | d5d74cf5307ba606182dbaac568f06bf20d76eff (patch) | |
tree | f43ea573e23591f791ff3139ca006542a9fbf0a7 | |
parent | f8dc2e51aa43eb5fcb97b1def6ca421420d5443e (diff) | |
download | ffmpeg-d5d74cf5307ba606182dbaac568f06bf20d76eff.tar.gz |
100l: fix parentheses placement when checking for ret < 0
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 49891ad04c..e7ccac2d10 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -531,7 +531,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; |