提交 c74032b7 编写于 作者: V Vitor Sessak

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
上级 58a9b20f
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册