mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-20 14:00:13 +01:00
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:
committed by
James Almer
parent
bc545bae3b
commit
1df63acdc4
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user