diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-04 12:02:27 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-16 23:01:00 +0100 |
commit | 75af13a0e4c54ee780249e16c8e14983614e2f25 (patch) | |
tree | f22e9cc8efac6c09d4528407b2c6e070041e97fd /libavcodec/svq3.c | |
parent | 3b1c9eb0ffb680174ffaebb47b773a4628a2be6a (diff) | |
download | ffmpeg-75af13a0e4c54ee780249e16c8e14983614e2f25.tar.gz |
mpegvideo: directly use frames in ff_draw_horiz_band()
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r-- | libavcodec/svq3.c | 4 |
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); } |