ref: f97138517b95737c66626f47e8528569c546dc88
parent: 2b3f7883f1683516b48f09220b31451cfaa7919f
author: lieff <lieff@users.noreply.github.com>
date: Mon Feb 24 15:57:06 EST 2020
test: grow limit to get at least 500 last samples to properly calculate PSNR
--- a/minimp3_test.c
+++ b/minimp3_test.c
@@ -229,7 +229,7 @@
#else
srand(time(0));
#endif
- position = info.samples > 200 ? (uint64_t)(info.samples - 200)*rand()/RAND_MAX : 0;
+ position = info.samples > 500 ? (uint64_t)(info.samples - 500)*rand()/RAND_MAX : 0;
printf("info: seek to %d/%d\n", position, (int)info.samples);
}
if (position)