OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d17871
)
ffmpeg: fix variable name in psnr printing code
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 28 Feb 2013 23:25:03 +0000
(
00:25
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 28 Feb 2013 23:25:03 +0000
(
00:25
+0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
65f252b
..
f1e6834
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-1215,7
+1215,7
@@
static void print_report(int is_last_report, int64_t timer_start, int64_t cur_ti
p = psnr(error / scale);
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "%c:%2.2f ", type[j], p);
av_bprintf(&buf_script, "stream_%d_%d_psnr_%c=%2.2f\n",
- ost->file_index, ost->index, type[
i
] | 32, p);
+ ost->file_index, ost->index, type[
j
] | 32, p);
}
p = psnr(error_sum / scale_sum);
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "*:%2.2f ", psnr(error_sum / scale_sum));