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 @@
* VC-1 and WMV3 parser
*/
#include "libavutil/attributes.h"
#include "parser.h"
#include "vc1.h"
#include "get_bits.h"
@@ -189,7 +190,7 @@ static int vc1_split(AVCodecContext *avctx,
return 0;
}
static int vc1_parse_init(AVCodecParserContext *s)
static av_cold int vc1_parse_init(AVCodecParserContext *s)
{
VC1ParseContext *vpc = s->priv_data;
vpc->v.s.slice_context_count = 1;