aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tiny_psnr.c
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2006-04-24 13:04:12 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2006-04-24 13:04:12 +0000
commitddbddce547a4183a66d9e48ea095f49ec1309dbd (patch)
treec5001610aa803b5ad626b57e4f700743ea81085f /tests/tiny_psnr.c
parentf267587ecea7a98d398d0fb74e1e04668ddf26e3 (diff)
downloadffmpeg-ddbddce547a4183a66d9e48ea095f49ec1309dbd.tar.gz
Fix samples to bytes relation.
Originally committed as revision 5314 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/tiny_psnr.c')
-rw-r--r--tests/tiny_psnr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tiny_psnr.c b/tests/tiny_psnr.c
index 2a19f4d4f7..b017eacc72 100644
--- a/tests/tiny_psnr.c
+++ b/tests/tiny_psnr.c
@@ -141,7 +141,7 @@ int main(int argc,char* argv[]){
printf("stddev:%3d.%02d PSNR:%2d.%02d bytes:%d\n",
(int)(dev/F), (int)(dev%F),
(int)(psnr/F), (int)(psnr%F),
- i);
+ i*len);
return 0;
}