From b1268e0f032a3af3912fe3fb8d3855e12d7ea83b Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Fri, 26 Feb 2016 00:04:36 -0500 Subject: 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. --- libavcodec/wmv2dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/wmv2dec.c') diff --git a/libavcodec/wmv2dec.c b/libavcodec/wmv2dec.c index db326898ac..845acf6005 100644 --- a/libavcodec/wmv2dec.c +++ b/libavcodec/wmv2dec.c @@ -228,7 +228,8 @@ int ff_wmv2_decode_secondary_picture_header(MpegEncContext *s) s->picture_number++; // FIXME ? if (w->j_type) { - ff_intrax8_decode_picture(&w->x8, &s->current_picture, &s->gb, + ff_intrax8_decode_picture(&w->x8, &s->current_picture, + &s->gb, &s->mb_x, &s->mb_y, 2 * s->qscale, (s->qscale - 1) | 1, s->loop_filter); -- cgit v1.2.3