Mercurial > mplayer.hg
changeset 31299:34507085a841
Cosmetics: properly indent block after introducing if statement in r31363.
author | tack |
---|---|
date | Thu, 10 Jun 2010 21:58:03 +0000 |
parents | 4afc7cdeb900 |
children | f4e1cf6f1bdd |
files | libmpcodecs/ve_x264.c |
diffstat | 1 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ve_x264.c Thu Jun 10 21:49:59 2010 +0000 +++ b/libmpcodecs/ve_x264.c Thu Jun 10 21:58:03 2010 +0000 @@ -116,11 +116,12 @@ } else if (!strcasecmp(name, "slow_firstpass")) slow_firstpass = 1; else if (strcasecmp(name, "preset") && strcasecmp(name, "tune")) { - ret = x264_param_parse(¶m, name, value); - if(ret == X264_PARAM_BAD_NAME) - mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Option x264encopts: Unknown suboption %s\n", name); - if(ret == X264_PARAM_BAD_VALUE) - mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Option x264encopts: Bad argument %s=%s\n", name, value ? value : "(null)"); + ret = x264_param_parse(¶m, name, value); + if (ret == X264_PARAM_BAD_NAME) + mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Option x264encopts: Unknown suboption %s\n", name); + if (ret == X264_PARAM_BAD_VALUE) + mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Option x264encopts: Bad argument %s=%s\n", + name, value ? value : "(null)"); } /* mark this option as done, so it's not reparsed if there's another -x264encopts */