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

Ronald S. Bultje rsbultje at gmail.com
Tue Jan 7 13:25:35 CET 2014


Fixes an assert in file from trac ticket 3188.
---
 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;
-- 
1.8.4



More information about the ffmpeg-devel mailing list