[FFmpeg-cvslog] lavc: fix parentheses placement in avcodec_open2().
Baptiste Coudurier
git at videolan.org
Thu Aug 11 21:09:21 CEST 2011
ffmpeg | branch: master | Baptiste Coudurier <baptiste.coudurier at gmail.com> | Mon Aug 8 23:41:50 2011 -0700| [1d36fb13b088f55ece155153fb6ca8ea278fc837] | committer: Anton Khirnov
lavc: fix parentheses placement in avcodec_open2().
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1d36fb13b088f55ece155153fb6ca8ea278fc837
---
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;
More information about the ffmpeg-cvslog
mailing list