aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-14 21:38:42 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-16 14:55:25 +0200
commitb5c07a368b64a0d96abfdc8c4546e29ced67eff9 (patch)
treeea4ec168c4fc18e3127cdee85d7c1a223c5ca9a6 /libavcodec
parent11a9aab6c12d44edfeeb094d73376b4847a72f02 (diff)
downloadffmpeg-b5c07a368b64a0d96abfdc8c4546e29ced67eff9.tar.gz
avcodec/vp3: Don't truncate ptrdiff_t
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 33c120a58e..6303068459 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -1954,7 +1954,7 @@ static void await_reference_row(Vp3DecodeContext *s, const Vp3Fragment *fragment
* @return non-zero if temp (edge_emu_buffer) was populated
*/
static int vp4_mc_loop_filter(Vp3DecodeContext *s, int plane, int motion_x, int motion_y, int bx, int by,
- const uint8_t *motion_source, int stride,
+ const uint8_t *motion_source, ptrdiff_t stride,
int src_x, int src_y, uint8_t *temp)
{
int motion_shift = plane ? 4 : 2;