This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 76a5d7c545c861daef2ee61cc7fe59e77a090460
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Tue Mar 24 17:58:58 2026 +0100
Commit:     James Almer <[email protected]>
CommitDate: Tue Mar 24 23:13:00 2026 +0000

    avfilter/framepool: Mark init, uninit functions as av_cold
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavfilter/framepool.c | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/libavfilter/framepool.c b/libavfilter/framepool.c
index 85759c9fb3..0259415620 100644
--- a/libavfilter/framepool.c
+++ b/libavfilter/framepool.c
@@ -49,11 +49,10 @@ struct FFFramePool {
 
 };
 
-FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(size_t size),
-                                      int width,
-                                      int height,
-                                      enum AVPixelFormat format,
-                                      int align)
+av_cold FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(size_t 
size),
+                                              int width, int height,
+                                              enum AVPixelFormat format,
+                                              int align)
 {
     int i, ret;
     FFFramePool *pool;
@@ -110,11 +109,10 @@ fail:
     return NULL;
 }
 
-FFFramePool *ff_frame_pool_audio_init(AVBufferRef* (*alloc)(size_t size),
-                                      int channels,
-                                      int nb_samples,
-                                      enum AVSampleFormat format,
-                                      int align)
+av_cold FFFramePool *ff_frame_pool_audio_init(AVBufferRef* (*alloc)(size_t 
size),
+                                              int channels, int nb_samples,
+                                              enum AVSampleFormat format,
+                                              int align)
 {
     int ret, planar;
     FFFramePool *pool;
@@ -278,7 +276,7 @@ fail:
     return NULL;
 }
 
-void ff_frame_pool_uninit(FFFramePool **pool)
+av_cold void ff_frame_pool_uninit(FFFramePool **pool)
 {
     int i;
 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to