Add missing av_cold in static init/close functions.
Patch by Daniel Verkamp daniel at drv dot nu. Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:

committed by
Stefano Sabatini

parent
50ded3fdb6
commit
5ef251e504
@@ -77,7 +77,7 @@ static int concatenate_packet(unsigned int* offset, AVCodecContext* avc_context,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int encode_init(AVCodecContext* avc_context)
|
||||
static av_cold int encode_init(AVCodecContext* avc_context)
|
||||
{
|
||||
theora_info t_info;
|
||||
theora_comment t_comment;
|
||||
@@ -240,7 +240,7 @@ static int encode_frame(
|
||||
return o_packet.bytes;
|
||||
}
|
||||
|
||||
static int encode_close(AVCodecContext* avc_context)
|
||||
static av_cold int encode_close(AVCodecContext* avc_context)
|
||||
{
|
||||
ogg_packet o_packet;
|
||||
TheoraContext *h = avc_context->priv_data;
|
||||
|
Reference in New Issue
Block a user