From f7813a5324be39d13ab536c245d15dfc602a7849 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 29 Dec 2013 12:19:38 +0000 Subject: basic type mechanism working --- ffmpeg/libavcodec/libschroedinger.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ffmpeg/libavcodec/libschroedinger.c') diff --git a/ffmpeg/libavcodec/libschroedinger.c b/ffmpeg/libavcodec/libschroedinger.c index f452d70..9f0b25c 100644 --- a/ffmpeg/libavcodec/libschroedinger.c +++ b/ffmpeg/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