diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-08-08 23:41:50 -0700 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-08-10 16:57:33 +0200 |
commit | 1d36fb13b088f55ece155153fb6ca8ea278fc837 (patch) | |
tree | a11255cbf447576580041f8034b54914687f244f /libavcodec | |
parent | 7221139ba0486c24afeac1f41ba97c75f58046b9 (diff) | |
download | ffmpeg-streaming-1d36fb13b088f55ece155153fb6ca8ea278fc837.zip ffmpeg-streaming-1d36fb13b088f55ece155153fb6ca8ea278fc837.tar.gz |
lavc: fix parentheses placement in avcodec_open2().
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec')
-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 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; |