dsputil_mmx: fix pointer type for emulated_edge_mc_func()
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Dec 2012 01:04:31 +0000 (02:04 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Dec 2012 01:04:31 +0000 (02:04 +0100)
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/dsputil_mmx.c

index 1e537c7..f820d1f 100644 (file)
@@ -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,
 }
 
 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,
                                    int src_x, int src_y, int w, int h);
 
 static av_always_inline void gmc(uint8_t *dst, uint8_t *src,