avcodec: Add av_cold attributes to init functions missing them

This commit is contained in:
Diego Biurrun
2013-02-01 10:31:59 +01:00
parent 72e228b274
commit 6fee1b90ce
57 changed files with 161 additions and 87 deletions

View File

@@ -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;