summaryrefslogtreecommitdiffstats
path: root/libavcodec/audio_frame_queue.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2025-09-05 01:09:49 +0200
committerJames Almer <[email protected]>2025-09-13 20:37:03 +0000
commit1df63acdc486d08fccbd0f3d19eb0398486c8e00 (patch)
tree27761d78ce04dd01afc2cf90c1d1eb480de0c3e1 /libavcodec/audio_frame_queue.c
parentbc545bae3be34e71980f93259dfca1b8bb28bd92 (diff)
avcodec: Add av_cold to flush,init,close functions missing it
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavcodec/audio_frame_queue.c')
-rw-r--r--libavcodec/audio_frame_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/audio_frame_queue.c b/libavcodec/audio_frame_queue.c
index 10b5d21392..1ca5f70304 100644
--- a/libavcodec/audio_frame_queue.c
+++ b/libavcodec/audio_frame_queue.c
@@ -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);