diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-02-01 10:31:59 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-05-04 21:09:45 +0200 |
commit | 6fee1b90ce3bf4fbdfde7016e0890057c9000487 (patch) | |
tree | c1b37ab53c8caab6b47702ec4451038c5d2882e4 /libavcodec/libschroedinger.c | |
parent | 72e228b274a98af1aba9588415d0cd87fde44663 (diff) | |
download | ffmpeg-6fee1b90ce3bf4fbdfde7016e0890057c9000487.tar.gz |
avcodec: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavcodec/libschroedinger.c')
-rw-r--r-- | libavcodec/libschroedinger.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/libschroedinger.c b/libavcodec/libschroedinger.c index 2aa5eb9fa1..fc9188cb8a 100644 --- a/libavcodec/libschroedinger.c +++ b/libavcodec/libschroedinger.c @@ -23,8 +23,9 @@ * function definitions common to libschroedinger decoder and encoder */ -#include "libschroedinger.h" +#include "libavutil/attributes.h" #include "libavutil/mem.h" +#include "libschroedinger.h" static const SchroVideoFormatInfo ff_schro_video_format_info[] = { { 640, 480, 24000, 1001}, @@ -66,7 +67,7 @@ static unsigned int get_video_format_idx(AVCodecContext *avctx) return ret_idx; } -void ff_schro_queue_init(FFSchroQueue *queue) +av_cold void ff_schro_queue_init(FFSchroQueue *queue) { queue->p_head = queue->p_tail = NULL; queue->size = 0; |