Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
5eb56283
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,发现更多精彩内容 >>
提交
5eb56283
编写于
2月 09, 2016
作者:
L
Luca Barbato
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
mov: Use the correct type for size
An AVIO offset is int64_t. Bug-Id: 921
上级
8d34a2f8
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
5 addition
and
5 deletion
+5
-5
libavformat/mov.c
libavformat/mov.c
+5
-5
未找到文件。
libavformat/mov.c
浏览文件 @
5eb56283
...
...
@@ -1586,7 +1586,7 @@ static void mov_parse_stsd_audio(MOVContext *c, AVIOContext *pb,
static
void
mov_parse_stsd_subtitle
(
MOVContext
*
c
,
AVIOContext
*
pb
,
AVStream
*
st
,
MOVStreamContext
*
sc
,
int
size
)
int
64_t
size
)
{
// ttxt stsd contains display flags, justification, background
// color, fonts, and default styles, so fake an atom to read it
...
...
@@ -1651,7 +1651,7 @@ static int mov_rewrite_dvd_sub_extradata(AVStream *st)
static
int
mov_parse_stsd_data
(
MOVContext
*
c
,
AVIOContext
*
pb
,
AVStream
*
st
,
MOVStreamContext
*
sc
,
int
size
)
int
64_t
size
)
{
int
ret
;
...
...
@@ -1739,7 +1739,7 @@ static int mov_finalize_stsd_codec(MOVContext *c, AVIOContext *pb,
static
int
mov_skip_multiple_stsd
(
MOVContext
*
c
,
AVIOContext
*
pb
,
int
codec_tag
,
int
format
,
int
size
)
int
64_t
size
)
{
int
video_codec_id
=
ff_codec_get_id
(
ff_codec_movvideo_tags
,
format
);
...
...
@@ -1781,7 +1781,7 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
int
ret
,
dref_id
=
1
;
MOVAtom
a
=
{
AV_RL32
(
"stsd"
)
};
int64_t
start_pos
=
avio_tell
(
pb
);
uint32_t
size
=
avio_rb32
(
pb
);
/* size */
int64_t
size
=
avio_rb32
(
pb
);
/* size */
uint32_t
format
=
avio_rl32
(
pb
);
/* data format */
if
(
size
>=
16
)
{
...
...
@@ -2555,7 +2555,7 @@ static int mov_read_ilst(MOVContext *c, AVIOContext *pb, MOVAtom atom)
return
ret
;
}
static
int
mov_read_replaygain
(
MOVContext
*
c
,
AVIOContext
*
pb
,
int
size
)
static
int
mov_read_replaygain
(
MOVContext
*
c
,
AVIOContext
*
pb
,
int
64_t
size
)
{
int64_t
end
=
avio_tell
(
pb
)
+
size
;
uint8_t
*
key
=
NULL
,
*
val
=
NULL
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录