Commit 1d36fb13 authored by Baptiste Coudurier's avatar Baptiste Coudurier Committed by Anton Khirnov

lavc: fix parentheses placement in avcodec_open2().

Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 7221139b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment