comparison mpeg4video_parser.c @ 9007:043574c5c153 libavcodec

Add missing av_cold in static init/close functions. Patch by Daniel Verkamp daniel at drv dot nu.
author stefano
date Sun, 22 Feb 2009 13:48:55 +0000
parents 04423b2f6e0b
children 9311c65558c0
comparison
equal deleted inserted replaced
9006:37ac731fe32c 9007:043574c5c153
88 s1->pict_type= s->pict_type; 88 s1->pict_type= s->pict_type;
89 pc->first_picture = 0; 89 pc->first_picture = 0;
90 return ret; 90 return ret;
91 } 91 }
92 92
93 static int mpeg4video_parse_init(AVCodecParserContext *s) 93 static av_cold int mpeg4video_parse_init(AVCodecParserContext *s)
94 { 94 {
95 ParseContext1 *pc = s->priv_data; 95 ParseContext1 *pc = s->priv_data;
96 96
97 pc->enc = av_mallocz(sizeof(MpegEncContext)); 97 pc->enc = av_mallocz(sizeof(MpegEncContext));
98 if (!pc->enc) 98 if (!pc->enc)