[FFmpeg-cvslog] 100l: fix parentheses placement when checking for ret < 0
Baptiste Coudurier
git at videolan.org
Tue Aug 9 08:42:17 CEST 2011
ffmpeg | branch: master | Baptiste Coudurier <baptiste.coudurier at gmail.com> | Mon Aug 8 23:41:50 2011 -0700| [d5d74cf5307ba606182dbaac568f06bf20d76eff] | committer: Baptiste Coudurier
100l: fix parentheses placement when checking for ret < 0
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d5d74cf5307ba606182dbaac568f06bf20d76eff
---
libavcodec/utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 49891ad..e7ccac2 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;
More information about the ffmpeg-cvslog
mailing list