[FFmpeg-cvslog] ffmpeg: fix variable name in psnr printing code
Michael Niedermayer
git at videolan.org
Fri Mar 1 00:57:44 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Mar 1 00:25:03 2013 +0100| [e20f2dc048fd1fccda7ab56fbadd53054439f452] | committer: Michael Niedermayer
ffmpeg: fix variable name in psnr printing code
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e20f2dc048fd1fccda7ab56fbadd53054439f452
---
ffmpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 65f252b..f1e6834 100644
--- 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));
More information about the ffmpeg-cvslog
mailing list