Commit dbdb6fce authored by stefano's avatar stefano

Put pass_logfilename_prefix check on a single line, improve readability.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16351 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 54f59f76
......@@ -1837,8 +1837,8 @@ static int av_encode(AVFormatContext **output_files,
char *logbuffer;
snprintf(logfilename, sizeof(logfilename), "%s-%d.log",
pass_logfilename_prefix ?
pass_logfilename_prefix : DEFAULT_PASS_LOGFILENAME_PREFIX, i);
pass_logfilename_prefix ? pass_logfilename_prefix : DEFAULT_PASS_LOGFILENAME_PREFIX,
i);
if (codec->flags & CODEC_FLAG_PASS1) {
f = fopen(logfilename, "w");
if (!f) {
......
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