projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad16627
)
Put pass_logfilename_prefix check on a single line, improve readability.
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Fri, 26 Dec 2008 19:28:42 +0000
(19:28 +0000)
committer
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Fri, 26 Dec 2008 19:28:42 +0000
(19:28 +0000)
Originally committed as revision 16351 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
5e555f9
..
b196f58
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-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) {