avcodec: Add av_cold to flush,init,close functions missing it

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-09-05 01:09:49 +02:00
committed by James Almer
parent bc545bae3b
commit 1df63acdc4
81 changed files with 176 additions and 106 deletions

View File

@@ -33,7 +33,7 @@ av_cold void ff_af_queue_init(AVCodecContext *avctx, AudioFrameQueue *afq)
afq->frame_count = 0;
}
void ff_af_queue_close(AudioFrameQueue *afq)
av_cold void ff_af_queue_close(AudioFrameQueue *afq)
{
if(afq->frame_count)
av_log(afq->avctx, AV_LOG_WARNING, "%d frames left in the queue on closing\n", afq->frame_count);