aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2011-08-08 23:41:50 -0700
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2011-08-08 23:41:50 -0700
commitd5d74cf5307ba606182dbaac568f06bf20d76eff (patch)
treef43ea573e23591f791ff3139ca006542a9fbf0a7 /libavcodec/utils.c
parentf8dc2e51aa43eb5fcb97b1def6ca421420d5443e (diff)
downloadffmpeg-d5d74cf5307ba606182dbaac568f06bf20d76eff.tar.gz
100l: fix parentheses placement when checking for ret < 0
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c2
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;