summaryrefslogtreecommitdiff
path: root/libavcodec/vc1_block.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-02-26 00:04:36 -0500
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-03-29 13:41:09 +0200
commitb1268e0f032a3af3912fe3fb8d3855e12d7ea83b (patch)
tree9236be6daa9596b059beb7425c289daf7b2aa97f /libavcodec/vc1_block.c
parentd0540fd02171a6233d2016b199d013299debf7e3 (diff)
intrax8: Pass macroblock coordinates to ff_intrax8_decode_picture
These values need to be updated with the last macroblock position, so keep them as pointers.
Diffstat (limited to 'libavcodec/vc1_block.c')
-rw-r--r--libavcodec/vc1_block.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vc1_block.c b/libavcodec/vc1_block.c
index 919565ba37..1fac82884c 100644
--- a/libavcodec/vc1_block.c
+++ b/libavcodec/vc1_block.c
@@ -3022,7 +3022,8 @@ void ff_vc1_decode_blocks(VC1Context *v)
v->s.esc3_level_length = 0;
if (v->x8_type) {
- ff_intrax8_decode_picture(&v->x8, &v->s.current_picture, &v->s.gb,
+ ff_intrax8_decode_picture(&v->x8, &v->s.current_picture,
+ &v->s.gb, &v->s.mb_x, &v->s.mb_y,
2 * v->pq + v->halfpq, v->pq * !v->pquantizer,
v->s.loop_filter);