Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
83daced0
F
Ffmpeg
项目概览
小白菜888
/
Ffmpeg
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Ffmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
83daced0
编写于
11月 06, 2011
作者:
A
Anton Khirnov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lavf: expand doxy for some AVFormatContext fields.
上级
1c8c41ff
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
44 addition
and
5 deletion
+44
-5
libavformat/avformat.h
libavformat/avformat.h
+44
-5
未找到文件。
libavformat/avformat.h
浏览文件 @
83daced0
...
@@ -736,17 +736,56 @@ typedef struct AVChapter {
...
@@ -736,17 +736,56 @@ typedef struct AVChapter {
* New fields can be added to the end with minor version bumps.
* New fields can be added to the end with minor version bumps.
* Removal, reordering and changes to existing fields require a major
* Removal, reordering and changes to existing fields require a major
* version bump.
* version bump.
* sizeof(AVFormatContext) must not be used outside libav*.
* sizeof(AVFormatContext) must not be used outside libav*, use
* avformat_alloc_context() to create an AVFormatContext.
*/
*/
typedef
struct
AVFormatContext
{
typedef
struct
AVFormatContext
{
const
AVClass
*
av_class
;
/**< Set by avformat_alloc_context. */
/**
/* Can only be iformat or oformat, not both at the same time. */
* A class for logging and AVOptions. Set by avformat_alloc_context().
* Exports (de)muxer private options if they exist.
*/
const
AVClass
*
av_class
;
/**
* Can only be iformat or oformat, not both at the same time.
*
* decoding: set by avformat_open_input().
* encoding: set by the user.
*/
struct
AVInputFormat
*
iformat
;
struct
AVInputFormat
*
iformat
;
struct
AVOutputFormat
*
oformat
;
struct
AVOutputFormat
*
oformat
;
/**
* Format private data. This is an AVOptions-enabled struct
* if and only if iformat/oformat.priv_class is not NULL.
*/
void
*
priv_data
;
void
*
priv_data
;
/*
* I/O context.
*
* decoding: either set by the user before avformat_open_input() (then
* the user must close it manually) or set by avformat_open_input().
* encoding: set by the user.
*
* Do NOT set this field if AVFMT_NOFILE flag is set in
* iformat/oformat.flags. In such a case, the (de)muxer will handle
* I/O in some other way and this field will be NULL.
*/
AVIOContext
*
pb
;
AVIOContext
*
pb
;
/**
* A list of all streams in the file. New streams are created with
* avformat_new_stream().
*
* decoding: streams are created by libavformat in avformat_open_input().
* If AVFMTCTX_NOHEADER is set in ctx_flags, then new streams may also
* appear in av_read_frame().
* encoding: streams are created by the user before avformat_write_header().
*/
unsigned
int
nb_streams
;
unsigned
int
nb_streams
;
AVStream
**
streams
;
AVStream
**
streams
;
char
filename
[
1024
];
/**< input or output filename */
char
filename
[
1024
];
/**< input or output filename */
/* stream info */
/* stream info */
#if FF_API_TIMESTAMP
#if FF_API_TIMESTAMP
...
@@ -853,8 +892,8 @@ typedef struct AVFormatContext {
...
@@ -853,8 +892,8 @@ typedef struct AVFormatContext {
unsigned
int
probesize
;
unsigned
int
probesize
;
/**
/**
*
M
aximum time (in AV_TIME_BASE units) during which the input should
*
decoding: m
aximum time (in AV_TIME_BASE units) during which the input should
* be analyzed in av_find_stream_info().
* be analyzed in av
format
_find_stream_info().
*/
*/
int
max_analyze_duration
;
int
max_analyze_duration
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录