mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 13:35:13 +00:00
Add av_cold attribute to amr_nb decoding/encoding initialization functions.
Originally committed as revision 18843 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e5cd2d3dca
commit
d2dfde0811
@ -341,7 +341,7 @@ typedef struct AMRWBContext {
|
||||
Word16 allow_dtx;
|
||||
} AMRWBContext;
|
||||
|
||||
static int amr_wb_encode_init(AVCodecContext * avctx)
|
||||
static av_cold int amr_wb_encode_init(AVCodecContext * avctx)
|
||||
{
|
||||
AMRWBContext *s = avctx->priv_data;
|
||||
|
||||
@ -399,7 +399,7 @@ static int amr_wb_encode_frame(AVCodecContext *avctx,
|
||||
return size;
|
||||
}
|
||||
|
||||
static int amr_wb_decode_init(AVCodecContext * avctx)
|
||||
static av_cold int amr_wb_decode_init(AVCodecContext * avctx)
|
||||
{
|
||||
AMRWBContext *s = avctx->priv_data;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user