- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 C语言三目运算符之坑
代码片段:#include <stdio.h>int main(){ int a = -22; unsigned int b = 0; unsigned int c = 4294967274; ssize_t t = (a == 0 ? b : a); ssize_t tc = a; printf("t = %zd tc = %zd\n", t, tc); ...
2020-03-12 18:52:16 1144 2
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;
}
2015-03-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人