mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
Apply 'cold' attribute to init/uninit functions in libavcodec
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -37,7 +37,7 @@ typedef struct
|
||||
short lastSample[2];
|
||||
} ROQDPCMContext_t;
|
||||
|
||||
static void roq_dpcm_table_init(void)
|
||||
static av_cold void roq_dpcm_table_init(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
@ -158,7 +158,7 @@ static int roq_dpcm_encode_frame(AVCodecContext *avctx,
|
||||
return out - frame;
|
||||
}
|
||||
|
||||
static int roq_dpcm_encode_close(AVCodecContext *avctx)
|
||||
static av_cold int roq_dpcm_encode_close(AVCodecContext *avctx)
|
||||
{
|
||||
av_freep(&avctx->coded_frame);
|
||||
|
||||
|
Reference in New Issue
Block a user