diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-21 13:13:00 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-21 13:43:02 +0200 |
commit | aa594415a0a293472bda2ed8ed1cd7f3693eeb86 (patch) | |
tree | 301b05b8c33ff97e718d77090ba9cbaebaffbad4 | |
parent | d23b3f3940a9cd160f374edb051bfac4fd898030 (diff) | |
download | ffmpeg-aa594415a0a293472bda2ed8ed1cd7f3693eeb86.tar.gz |
avcodec/jpeg2000dwt: increase the number of test iterations
the code had too little coverage
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/jpeg2000dwt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000dwt.c b/libavcodec/jpeg2000dwt.c index 314a27428f..8d95eb26d7 100644 --- a/libavcodec/jpeg2000dwt.c +++ b/libavcodec/jpeg2000dwt.c @@ -657,7 +657,7 @@ int main(void) { for (i = 0; i<MAX_W * MAX_W; i++) array[i] = ref[i] = av_lfg_get(&prng) % 2048; - for (i = 0; i < 40; i++) { + for (i = 0; i < 100; i++) { for (j=0; j<4; j++) border[j>>1][j&1] = av_lfg_get(&prng) % MAX_W; if (border[0][0] >= border[0][1] || border[1][0] >= border[1][1]) |