[FFmpeg-cvslog] r16351 - trunk/ffmpeg.c
stefano
subversion
Fri Dec 26 20:28:42 CET 2008
Author: stefano
Date: Fri Dec 26 20:28:42 2008
New Revision: 16351
Log:
Put pass_logfilename_prefix check on a single line, improve readability.
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c Fri Dec 26 20:25:24 2008 (r16350)
+++ trunk/ffmpeg.c Fri Dec 26 20:28:42 2008 (r16351)
@@ -1837,8 +1837,8 @@ static int av_encode(AVFormatContext **o
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) {
More information about the ffmpeg-cvslog
mailing list