diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-26 19:28:42 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-26 19:28:42 +0000 |
commit | 22730e8790a42c2873fd424d7ba66af95e0ab573 (patch) | |
tree | 1f8cd5d4c9688c845041b5f3225df398478bcfba /ffmpeg.c | |
parent | ad16627fa0b972fd86393ae8e6a6383c45d65751 (diff) | |
download | ffmpeg-22730e8790a42c2873fd424d7ba66af95e0ab573.tar.gz |
Put pass_logfilename_prefix check on a single line, improve readability.
Originally committed as revision 16351 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |