On 04/03/14 11:18, Vittorio Giovara wrote: > --- > libavcodec/svq3.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c > index fac95ee..cf6e68c 100644 > --- a/libavcodec/svq3.c > +++ b/libavcodec/svq3.c > @@ -1267,10 +1267,9 @@ 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, > - 16 * h->mb_y, 16, h->picture_structure, 0, > - h->low_delay); > + ff_h264_draw_horiz_band(h, &s->cur_pic->f, > + s->last_pic->f.data[0] ? &s->last_pic->f : > NULL, > + 16 * h->mb_y, 16, 0); > } > > if (h->pict_type == AV_PICTURE_TYPE_B || h->low_delay) >
No. you should make ff_draw_horiz_band take frames instead. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
