Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
云duo
FFmpeg
提交
19711af5
F
FFmpeg
项目概览
云duo
/
FFmpeg
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
FFmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
19711af5
编写于
2月 06, 2011
作者:
A
Anton Khirnov
提交者:
Ronald S. Bultje
2月 06, 2011
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lavf: move internal functions from avformat.h to internal.h
Signed-off-by:
N
Ronald S. Bultje
<
rsbultje@gmail.com
>
上级
b3190529
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
24 addition
and
25 deletion
+24
-25
libavformat/avformat.h
libavformat/avformat.h
+0
-25
libavformat/ffmetadec.c
libavformat/ffmetadec.c
+1
-0
libavformat/internal.h
libavformat/internal.h
+21
-0
libavformat/mpeg.c
libavformat/mpeg.c
+1
-0
libavformat/oggparsevorbis.c
libavformat/oggparsevorbis.c
+1
-0
未找到文件。
libavformat/avformat.h
浏览文件 @
19711af5
...
...
@@ -1248,22 +1248,6 @@ void avformat_free_context(AVFormatContext *s);
AVStream
*
av_new_stream
(
AVFormatContext
*
s
,
int
id
);
AVProgram
*
av_new_program
(
AVFormatContext
*
s
,
int
id
);
/**
* Add a new chapter.
* This function is NOT part of the public API
* and should ONLY be used by demuxers.
*
* @param s media file handle
* @param id unique ID for this chapter
* @param start chapter start time in time_base units
* @param end chapter end time in time_base units
* @param title chapter title
*
* @return AVChapter or NULL on error
*/
AVChapter
*
ff_new_chapter
(
AVFormatContext
*
s
,
int
id
,
AVRational
time_base
,
int64_t
start
,
int64_t
end
,
const
char
*
title
);
/**
* Set the pts for a given stream. If the new values would be invalid
* (<= 0), it leaves the AVStream unchanged.
...
...
@@ -1294,15 +1278,6 @@ int av_find_default_stream_index(AVFormatContext *s);
*/
int
av_index_search_timestamp
(
AVStream
*
st
,
int64_t
timestamp
,
int
flags
);
/**
* Ensure the index uses less memory than the maximum specified in
* AVFormatContext.max_index_size by discarding entries if it grows
* too large.
* This function is not part of the public API and should only be called
* by demuxers.
*/
void
ff_reduce_index
(
AVFormatContext
*
s
,
int
stream_index
);
/**
* Add an index entry into a sorted list. Update the entry if the list
* already contains it.
...
...
libavformat/ffmetadec.c
浏览文件 @
19711af5
...
...
@@ -21,6 +21,7 @@
#include "avformat.h"
#include "ffmeta.h"
#include "internal.h"
static
int
probe
(
AVProbeData
*
p
)
{
...
...
libavformat/internal.h
浏览文件 @
19711af5
...
...
@@ -240,4 +240,25 @@ int ff_add_index_entry(AVIndexEntry **index_entries,
unsigned
int
*
index_entries_allocated_size
,
int64_t
pos
,
int64_t
timestamp
,
int
size
,
int
distance
,
int
flags
);
/**
* Add a new chapter.
*
* @param s media file handle
* @param id unique ID for this chapter
* @param start chapter start time in time_base units
* @param end chapter end time in time_base units
* @param title chapter title
*
* @return AVChapter or NULL on error
*/
AVChapter
*
ff_new_chapter
(
AVFormatContext
*
s
,
int
id
,
AVRational
time_base
,
int64_t
start
,
int64_t
end
,
const
char
*
title
);
/**
* Ensure the index uses less memory than the maximum specified in
* AVFormatContext.max_index_size by discarding entries if it grows
* too large.
*/
void
ff_reduce_index
(
AVFormatContext
*
s
,
int
stream_index
);
#endif
/* AVFORMAT_INTERNAL_H */
libavformat/mpeg.c
浏览文件 @
19711af5
...
...
@@ -20,6 +20,7 @@
*/
#include "avformat.h"
#include "internal.h"
#include "mpeg.h"
//#define DEBUG_SEEK
...
...
libavformat/oggparsevorbis.c
浏览文件 @
19711af5
...
...
@@ -28,6 +28,7 @@
#include "libavcodec/get_bits.h"
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "internal.h"
#include "oggdec.h"
#include "vorbiscomment.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录