【文件属性】:
文件名称:FFMpeg 最新 源代码
文件大小:6.36MB
文件格式:XZ
更新时间:2018-04-16 05:06:07
FFMpeg 最新 源代码
该文档是最新的FFMpeg源代码。
AVFilterBufferRef *avfilter_get_video_buffer_ref_from_frame(const AVFrame *frame,
int perms)
{
AVFilterBufferRef *picref =
avfilter_get_video_buffer_ref_from_arrays(frame->data, frame->linesize, perms,
frame->width, frame->height,
frame->format);
if (!picref)
return NULL;
if (avfilter_copy_frame_props(picref, frame) < 0) {
picref->buf->data[0] = NULL;
avfilter_unref_bufferp(&picref);
}
return picref;
}