mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-28 03:18:55 +08:00
Make linesize a per-reference property
Commited in SoC by Bobby Bingham on 2007-06-30 16:15:14 Originally committed as revision 11968 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -56,6 +56,7 @@ AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link, int perms)
|
||||
avpicture_alloc((AVPicture *)pic, pic->format, ref->w, ref->h);
|
||||
|
||||
memcpy(ref->data, pic->data, sizeof(int *) * 4);
|
||||
memcpy(ref->linesize, pic->linesize, sizeof(int *) * 4);
|
||||
|
||||
return ref;
|
||||
}
|
||||
|
Reference in New Issue
Block a user