diff options
author | James Almer <jamrial@gmail.com> | 2017-03-19 15:10:28 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-03-19 15:11:44 -0300 |
commit | e5623aafd8f6cba710f714e1d22c13d4a699792b (patch) | |
tree | 7418f788f620614e48ad9fefb9731171b1839cf8 /tests/checkasm | |
parent | 4004d33fcbbb93eaf57b5a5f8b2412b7807f094f (diff) | |
parent | 87c6c78604e4dd16f1f45862b27ca006da010527 (diff) | |
download | ffmpeg-e5623aafd8f6cba710f714e1d22c13d4a699792b.tar.gz |
Merge commit '87c6c78604e4dd16f1f45862b27ca006da010527'
* commit '87c6c78604e4dd16f1f45862b27ca006da010527':
vp8: Change type of stride parameters to ptrdiff_t
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/checkasm')
-rw-r--r-- | tests/checkasm/vp8dsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/checkasm/vp8dsp.c b/tests/checkasm/vp8dsp.c index d3aff99946..d93f73087f 100644 --- a/tests/checkasm/vp8dsp.c +++ b/tests/checkasm/vp8dsp.c @@ -171,7 +171,7 @@ static void check_idct_dc4(void) for (chroma = 0; chroma <= 1; chroma++) { void (*idct4dc)(uint8_t *, int16_t[4][16], ptrdiff_t) = chroma ? d.vp8_idct_dc_add4uv : d.vp8_idct_dc_add4y; if (check_func(idct4dc, "vp8_idct_dc_add4%s", chroma ? "uv" : "y")) { - int stride = chroma ? 8 : 16; + ptrdiff_t stride = chroma ? 8 : 16; int w = chroma ? 2 : 4; for (i = 0; i < 4; i++) { int blockx = 4 * (i % w); @@ -365,7 +365,7 @@ static void randomize_loopfilter_buffers(int lineoff, int str, } // Fill the buffer with random pixels -static void fill_loopfilter_buffers(uint8_t *buf, int stride, int w, int h) +static void fill_loopfilter_buffers(uint8_t *buf, ptrdiff_t stride, int w, int h) { int x, y; for (y = 0; y < h; y++) |