diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-03-06 16:00:12 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-03-09 04:20:52 +0100 |
commit | 1b6f37ac138aba1e4c2b834624f1f40ed09daa00 (patch) | |
tree | e67c439647e1efbdfbb9caa8c0f625561d4d4573 | |
parent | 1bce40cb73fffd9d1fb6e118d71ac8999cded808 (diff) | |
download | ffmpeg-1b6f37ac138aba1e4c2b834624f1f40ed09daa00.tar.gz |
avcodec/sbcenc: Mark sbc_encode_init() as av_cold
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/sbcenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sbcenc.c b/libavcodec/sbcenc.c index f2c4fbe329..e2f84f7dfc 100644 --- a/libavcodec/sbcenc.c +++ b/libavcodec/sbcenc.c @@ -194,7 +194,7 @@ static size_t sbc_pack_frame(AVPacket *avpkt, struct sbc_frame *frame, 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; struct sbc_frame *frame = &sbc->frame; |