Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
{
AVFilterBufferRef *picref;
int width = FFALIGN(w, 32);
{
AVFilterBufferRef *picref;
int width = FFALIGN(w, 32);
- int height= FFALIGN(h+6, 32);
+ int height= FFALIGN(h+2, 32);
int i;
picref = avfilter_default_get_video_buffer(link, perms, width, height);
int i;
picref = avfilter_default_get_video_buffer(link, perms, width, height);
picref->video->h = h;
for (i = 0; i < 3; i++)
picref->video->h = h;
for (i = 0; i < 3; i++)
- picref->data[i] += 3 * picref->linesize[i];
+ picref->data[i] += picref->linesize[i];