aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-25 02:04:31 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-25 02:04:31 +0100
commit9cb887ed3773a0dfb5b8e59fe503c263316392b0 (patch)
tree5ce3fc1814bac2efffbd71d8fe37f454a8bdcc9c
parentf89f3d4a9823393dc3a3cabf38b06f68cc826a4b (diff)
downloadffmpeg-9cb887ed3773a0dfb5b8e59fe503c263316392b0.tar.gz
dsputil_mmx: fix pointer type for emulated_edge_mc_func()
Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/x86/dsputil_mmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index 1e537c702f..f820d1f0d4 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -1656,7 +1656,7 @@ void ff_avg_rv40_qpel16_mc33_mmx(uint8_t *dst, uint8_t *src, int stride)
}
typedef void emulated_edge_mc_func(uint8_t *dst, const uint8_t *src,
- int linesize, int block_w, int block_h,
+ ptrdiff_t linesize, int block_w, int block_h,
int src_x, int src_y, int w, int h);
static av_always_inline void gmc(uint8_t *dst, uint8_t *src,