projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7221139
)
lavc: fix parentheses placement in avcodec_open2().
author
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Tue, 9 Aug 2011 06:41:50 +0000
(23:41 -0700)
committer
Anton Khirnov
<anton@khirnov.net>
Wed, 10 Aug 2011 14:57:33 +0000
(16:57 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/utils.c
patch
|
blob
|
history
diff --git
a/libavcodec/utils.c
b/libavcodec/utils.c
index
64f623c
..
0abab9a
100644
(file)
--- 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;