Revision 14e3b120

View differences:

libavfilter/vf_yadif.c
150 150
{
151 151
    AVFilterBufferRef *picref;
152 152
    int width = FFALIGN(w, 32);
153
    int height= FFALIGN(h+6, 32);
153
    int height= FFALIGN(h+2, 32);
154 154
    int i;
155 155

  
156 156
    picref = avfilter_default_get_video_buffer(link, perms, width, height);
......
159 159
    picref->video->h = h;
160 160

  
161 161
    for (i = 0; i < 3; i++)
162
        picref->data[i] += 3 * picref->linesize[i];
162
        picref->data[i] += picref->linesize[i];
163 163

  
164 164
    return picref;
165 165
}

Also available in: Unified diff