[FFmpeg-cvslog] vp9: make mv bounds 32bit.

Ronald S. Bultje git at videolan.org
Wed Jan 8 13:08:58 CET 2014


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Tue Jan  7 07:24:03 2014 -0500| [024fac5cd4f74d237b7b285355d7e463c1911196] | committer: Ronald S. Bultje

vp9: make mv bounds 32bit.

Fixes an assert in file from trac ticket 3188.

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

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

diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index ca6795f..b4e8d4e 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -232,7 +232,7 @@ typedef struct VP9Context {
     // block reconstruction intermediates
     int16_t *block_base, *block, *uvblock_base[2], *uvblock[2];
     uint8_t *eob_base, *uveob_base[2], *eob, *uveob[2];
-    VP56mv min_mv, max_mv;
+    struct { int x, y; } min_mv, max_mv;
     DECLARE_ALIGNED(32, uint8_t, tmp_y)[64*64];
     DECLARE_ALIGNED(32, uint8_t, tmp_uv)[2][32*32];
 } VP9Context;



More information about the ffmpeg-cvslog mailing list