mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00: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:
parent
58a9b20fb6
commit
c74032b7a8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user