ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | 
Thu Sep 14 21:38:42 2023 +0200| [b5c07a368b64a0d96abfdc8c4546e29ced67eff9] | 
committer: Andreas Rheinhardt

avcodec/vp3: Don't truncate ptrdiff_t

Reviewed-by: Paul B Mahol <one...@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b5c07a368b64a0d96abfdc8c4546e29ced67eff9
---

 libavcodec/vp3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to