Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
bd8ac882
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,发现更多精彩内容 >>
提交
bd8ac882
编写于
5月 02, 2013
作者:
D
Diego Biurrun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
avcodec: Add av_cold attributes to end functions missing them
上级
7abd35a1
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
14 addition
and
10 deletion
+14
-10
libavcodec/avfft.c
libavcodec/avfft.c
+4
-4
libavcodec/bgmc.c
libavcodec/bgmc.c
+1
-1
libavcodec/dnxhdenc.c
libavcodec/dnxhdenc.c
+1
-1
libavcodec/libxvid_rc.c
libavcodec/libxvid_rc.c
+2
-1
libavcodec/mpeg12dec.c
libavcodec/mpeg12dec.c
+2
-1
libavcodec/roqvideoenc.c
libavcodec/roqvideoenc.c
+1
-1
libavcodec/svq3.c
libavcodec/svq3.c
+3
-1
未找到文件。
libavcodec/avfft.c
浏览文件 @
bd8ac882
...
...
@@ -45,7 +45,7 @@ void av_fft_calc(FFTContext *s, FFTComplex *z)
s
->
fft_calc
(
s
,
z
);
}
void
av_fft_end
(
FFTContext
*
s
)
av_cold
void
av_fft_end
(
FFTContext
*
s
)
{
if
(
s
)
{
ff_fft_end
(
s
);
...
...
@@ -80,7 +80,7 @@ void av_mdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input)
s
->
mdct_calc
(
s
,
output
,
input
);
}
void
av_mdct_end
(
FFTContext
*
s
)
av_cold
void
av_mdct_end
(
FFTContext
*
s
)
{
if
(
s
)
{
ff_mdct_end
(
s
);
...
...
@@ -107,7 +107,7 @@ void av_rdft_calc(RDFTContext *s, FFTSample *data)
s
->
rdft_calc
(
s
,
data
);
}
void
av_rdft_end
(
RDFTContext
*
s
)
av_cold
void
av_rdft_end
(
RDFTContext
*
s
)
{
if
(
s
)
{
ff_rdft_end
(
s
);
...
...
@@ -134,7 +134,7 @@ void av_dct_calc(DCTContext *s, FFTSample *data)
s
->
dct_calc
(
s
,
data
);
}
void
av_dct_end
(
DCTContext
*
s
)
av_cold
void
av_dct_end
(
DCTContext
*
s
)
{
if
(
s
)
{
ff_dct_end
(
s
);
...
...
libavcodec/bgmc.c
浏览文件 @
bd8ac882
...
...
@@ -477,7 +477,7 @@ av_cold int ff_bgmc_init(AVCodecContext *avctx,
/** Release the lookup table arrays */
void
ff_bgmc_end
(
uint8_t
**
cf_lut
,
int
**
cf_lut_status
)
av_cold
void
ff_bgmc_end
(
uint8_t
**
cf_lut
,
int
**
cf_lut_status
)
{
av_freep
(
cf_lut
);
av_freep
(
cf_lut_status
);
...
...
libavcodec/dnxhdenc.c
浏览文件 @
bd8ac882
...
...
@@ -990,7 +990,7 @@ static int dnxhd_encode_picture(AVCodecContext *avctx, AVPacket *pkt,
return
0
;
}
static
int
dnxhd_encode_end
(
AVCodecContext
*
avctx
)
static
av_cold
int
dnxhd_encode_end
(
AVCodecContext
*
avctx
)
{
DNXHDEncContext
*
ctx
=
avctx
->
priv_data
;
int
max_level
=
1
<<
(
ctx
->
cid_table
->
bit_depth
+
2
);
...
...
libavcodec/libxvid_rc.c
浏览文件 @
bd8ac882
...
...
@@ -170,7 +170,8 @@ float ff_xvid_rate_estimate_qscale(MpegEncContext *s, int dry_run){
return
xvid_plg_data
.
quant
*
FF_QP2LAMBDA
;
}
void
ff_xvid_rate_control_uninit
(
MpegEncContext
*
s
){
av_cold
void
ff_xvid_rate_control_uninit
(
MpegEncContext
*
s
)
{
xvid_plg_destroy_t
xvid_plg_destroy
;
xvid_plugin_2pass2
(
s
->
rc_context
.
non_lavc_opaque
,
XVID_PLG_DESTROY
,
&
xvid_plg_destroy
,
NULL
);
...
...
libavcodec/mpeg12dec.c
浏览文件 @
bd8ac882
...
...
@@ -26,6 +26,7 @@
*/
//#define DEBUG
#include "libavutil/attributes.h"
#include "libavutil/internal.h"
#include "internal.h"
#include "avcodec.h"
...
...
@@ -2355,7 +2356,7 @@ static void flush(AVCodecContext *avctx)
ff_mpeg_flush
(
avctx
);
}
static
int
mpeg_decode_end
(
AVCodecContext
*
avctx
)
static
av_cold
int
mpeg_decode_end
(
AVCodecContext
*
avctx
)
{
Mpeg1Context
*
s
=
avctx
->
priv_data
;
...
...
libavcodec/roqvideoenc.c
浏览文件 @
bd8ac882
...
...
@@ -937,7 +937,7 @@ static void roq_encode_video(RoqContext *enc)
enc
->
framesSinceKeyframe
++
;
}
static
int
roq_encode_end
(
AVCodecContext
*
avctx
)
static
av_cold
int
roq_encode_end
(
AVCodecContext
*
avctx
)
{
RoqContext
*
enc
=
avctx
->
priv_data
;
...
...
libavcodec/svq3.c
浏览文件 @
bd8ac882
...
...
@@ -39,6 +39,8 @@
* correctly decodes this file:
* http://samples.libav.org/V-codecs/SVQ3/Vertical400kbit.sorenson3.mov
*/
#include "libavutil/attributes.h"
#include "internal.h"
#include "avcodec.h"
#include "mpegvideo.h"
...
...
@@ -1281,7 +1283,7 @@ static int svq3_decode_frame(AVCodecContext *avctx, void *data,
return
buf_size
;
}
static
int
svq3_decode_end
(
AVCodecContext
*
avctx
)
static
av_cold
int
svq3_decode_end
(
AVCodecContext
*
avctx
)
{
SVQ3Context
*
s
=
avctx
->
priv_data
;
H264Context
*
h
=
&
s
->
h
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录