From 6fee1b90ce3bf4fbdfde7016e0890057c9000487 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 1 Feb 2013 10:31:59 +0100 Subject: avcodec: Add av_cold attributes to init functions missing them --- libavcodec/libschroedinger.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libavcodec/libschroedinger.c') 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; -- cgit v1.2.3