diff options
author | Michael Niedermayer | 2013-03-01 00:25:03 +0100 |
---|---|---|
committer | Michael Niedermayer | 2013-03-01 00:25:03 +0100 |
commit | e20f2dc048fd1fccda7ab56fbadd53054439f452 (patch) | |
tree | b0fb58866d335abe4ab239561357ac46f15b8900 | |
parent | 1d178710b429cedaa98bf971c16c8e32a94223f4 (diff) |
ffmpeg: fix variable name in psnr printing code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |