ref: 80a7dfd30af0470cdb1923c0bf3e1b9f34c15b93
parent: fa98191f55d5dfbfabcb07b26075799bfbe3c738
author: lieff <lieff@users.noreply.github.com>
date: Wed Feb 19 18:40:03 EST 2020
test: grow limit to get at least 200 last samples to properly calculate PSNR
--- a/minimp3_test.c
+++ b/minimp3_test.c
@@ -219,7 +219,7 @@
#else
srand(time(0));
#endif
- position = info.samples > 150 ? (uint64_t)(info.samples - 150)*rand()/RAND_MAX : 0;
+ position = info.samples > 200 ? (uint64_t)(info.samples - 200)*rand()/RAND_MAX : 0;
printf("info: seek to %d/%d\n", position, (int)info.samples);
}
if (position)