summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2011-08-08 23:41:50 -0700
committerAnton Khirnov <anton@khirnov.net>2011-08-10 16:57:33 +0200
commit1d36fb13b088f55ece155153fb6ca8ea278fc837 (patch)
treea11255cbf447576580041f8034b54914687f244f /libavcodec
parent7221139ba0486c24afeac1f41ba97c75f58046b9 (diff)
downloadffmpeg-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.c2
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;
OpenPOWER on IntegriCloud