diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-02-26 00:04:36 -0500 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-03-29 13:41:09 +0200 |
commit | b1268e0f032a3af3912fe3fb8d3855e12d7ea83b (patch) | |
tree | 9236be6daa9596b059beb7425c289daf7b2aa97f /libavcodec/wmv2dec.c | |
parent | d0540fd02171a6233d2016b199d013299debf7e3 (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/wmv2dec.c')
-rw-r--r-- | libavcodec/wmv2dec.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |