You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/sbcenc: Mark sbc_encode_init() as av_cold
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -194,7 +194,7 @@ static size_t sbc_pack_frame(AVPacket *avpkt, struct sbc_frame *frame,
|
|||||||
return put_bytes_output(&pb);
|
return put_bytes_output(&pb);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int sbc_encode_init(AVCodecContext *avctx)
|
static av_cold int sbc_encode_init(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
SBCEncContext *sbc = avctx->priv_data;
|
SBCEncContext *sbc = avctx->priv_data;
|
||||||
struct sbc_frame *frame = &sbc->frame;
|
struct sbc_frame *frame = &sbc->frame;
|
||||||
|
Reference in New Issue
Block a user