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

@@ -25,6 +25,7 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
#include "libavutil/attributes.h"
#include "parser.h"
#include "h264data.h"
#include "golomb.h"
@@ -333,7 +334,7 @@ static void close(AVCodecParserContext *s)
ff_h264_free_context(h);
}
static int init(AVCodecParserContext *s)
static av_cold int init(AVCodecParserContext *s)
{
H264Context *h = s->priv_data;
h->thread_context[0] = h;