Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
a5e9102b
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,发现更多精彩内容 >>
提交
a5e9102b
编写于
6月 16, 2006
作者:
M
Måns Rullgård
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
free codec extradata in av_close_input_file
Originally committed as revision 5484 to
svn://svn.ffmpeg.org/ffmpeg/trunk
上级
47dd81c7
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
1 addition
and
17 deletion
+1
-17
libavformat/asf.c
libavformat/asf.c
+0
-1
libavformat/avidec.c
libavformat/avidec.c
+0
-1
libavformat/matroska.c
libavformat/matroska.c
+0
-4
libavformat/nsvdec.c
libavformat/nsvdec.c
+0
-1
libavformat/nut.c
libavformat/nut.c
+0
-3
libavformat/ogg.c
libavformat/ogg.c
+0
-1
libavformat/ogg2.c
libavformat/ogg2.c
+0
-1
libavformat/smacker.c
libavformat/smacker.c
+0
-5
libavformat/utils.c
libavformat/utils.c
+1
-0
未找到文件。
libavformat/asf.c
浏览文件 @
a5e9102b
...
...
@@ -730,7 +730,6 @@ static int asf_read_close(AVFormatContext *s)
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
{
AVStream
*
st
=
s
->
streams
[
i
];
av_free
(
st
->
priv_data
);
av_free
(
st
->
codec
->
extradata
);
av_free
(
st
->
codec
->
palctrl
);
}
return
0
;
...
...
libavformat/avidec.c
浏览文件 @
a5e9102b
...
...
@@ -898,7 +898,6 @@ static int avi_read_close(AVFormatContext *s)
AVStream
*
st
=
s
->
streams
[
i
];
AVIStream
*
ast
=
st
->
priv_data
;
av_free
(
ast
);
av_free
(
st
->
codec
->
extradata
);
av_free
(
st
->
codec
->
palctrl
);
}
...
...
libavformat/matroska.c
浏览文件 @
a5e9102b
...
...
@@ -2630,10 +2630,6 @@ matroska_read_close (AVFormatContext *s)
av_free
(
track
);
}
for
(
n
=
0
;
n
<
s
->
nb_streams
;
n
++
)
{
av_free
(
s
->
streams
[
n
]
->
codec
->
extradata
);
}
memset
(
matroska
,
0
,
sizeof
(
MatroskaDemuxContext
));
return
0
;
...
...
libavformat/nsvdec.c
浏览文件 @
a5e9102b
...
...
@@ -705,7 +705,6 @@ static int nsv_read_close(AVFormatContext *s)
av_free(ast->index_entries);
av_free(ast);
}
av_free(st->codec->extradata);
av_free(st->codec->palctrl);
}
...
...
libavformat/nut.c
浏览文件 @
a5e9102b
...
...
@@ -1415,9 +1415,6 @@ static int nut_read_close(AVFormatContext *s)
NUTContext
*
nut
=
s
->
priv_data
;
int
i
;
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
{
av_freep
(
&
s
->
streams
[
i
]
->
codec
->
extradata
);
}
av_freep
(
&
nut
->
stream
);
return
0
;
...
...
libavformat/ogg.c
浏览文件 @
a5e9102b
...
...
@@ -249,7 +249,6 @@ static int ogg_read_close(AVFormatContext *avfcontext) {
ogg_stream_clear(&context->os) ;
ogg_sync_clear(&context->oy) ;
av_freep(&avfcontext->streams[0]->codec.extradata);
return 0 ;
}
...
...
libavformat/ogg2.c
浏览文件 @
a5e9102b
...
...
@@ -542,7 +542,6 @@ ogg_read_close (AVFormatContext * s)
for
(
i
=
0
;
i
<
ogg
->
nstreams
;
i
++
){
av_free
(
ogg
->
streams
[
i
].
buf
);
av_free
(
ogg
->
streams
[
i
].
private
);
av_freep
(
&
s
->
streams
[
i
]
->
codec
->
extradata
);
}
av_free
(
ogg
->
streams
);
return
0
;
...
...
libavformat/smacker.c
浏览文件 @
a5e9102b
...
...
@@ -329,11 +329,6 @@ static int smacker_read_close(AVFormatContext *s)
if
(
smk
->
frm_flags
)
av_free
(
smk
->
frm_flags
);
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
{
AVStream
*
st
=
s
->
streams
[
i
];
if
(
st
->
codec
->
extradata
)
av_free
(
st
->
codec
->
extradata
);
}
return
0
;
}
...
...
libavformat/utils.c
浏览文件 @
a5e9102b
...
...
@@ -2167,6 +2167,7 @@ void av_close_input_file(AVFormatContext *s)
av_parser_close
(
st
->
parser
);
}
av_free
(
st
->
index_entries
);
av_free
(
st
->
codec
->
extradata
);
av_free
(
st
->
codec
);
av_free
(
st
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录