summaryrefslogtreecommitdiff
path: root/libavcodec/svq3.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-03-04 12:02:27 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-03-16 23:01:00 +0100
commit75af13a0e4c54ee780249e16c8e14983614e2f25 (patch)
treef22e9cc8efac6c09d4528407b2c6e070041e97fd /libavcodec/svq3.c
parent3b1c9eb0ffb680174ffaebb47b773a4628a2be6a (diff)
mpegvideo: directly use frames in ff_draw_horiz_band()
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r--libavcodec/svq3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index fac95eed53..12752886eb 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -1267,8 +1267,8 @@ static int svq3_decode_frame(AVCodecContext *avctx, void *data,
(h->pict_type == AV_PICTURE_TYPE_P && mb_type < 8) ? (mb_type - 1) : -1;
}
- ff_draw_horiz_band(avctx, s->cur_pic,
- s->last_pic->f.data[0] ? s->last_pic : NULL,
+ ff_draw_horiz_band(avctx, &s->cur_pic->f,
+ s->last_pic->f.data[0] ? &s->last_pic->f : NULL,
16 * h->mb_y, 16, h->picture_structure, 0,
h->low_delay);
}