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

@@ -30,6 +30,7 @@
//#define DEBUG
#include <limits.h>
#include "libavutil/attributes.h"
#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
#include "avcodec.h"
@@ -101,7 +102,7 @@ static VLC cbpc_b_vlc;
/* init vlcs */
/* XXX: find a better solution to handle static init */
void ff_h263_decode_init_vlc(void)
av_cold void ff_h263_decode_init_vlc(void)
{
static int done = 0;