Revision c74032b7

View differences:

libavfilter/avfilter.c
56 56
    avpicture_alloc((AVPicture *)pic, pic->format, ref->w, ref->h);
57 57

  
58 58
    memcpy(ref->data, pic->data, sizeof(int *) * 4);
59
    memcpy(ref->linesize, pic->linesize, sizeof(int *) * 4);
59 60

  
60 61
    return ref;
61 62
}

Also available in: Unified diff