Mercurial > libavcodec.hg
comparison mpeg12enc.c @ 6517:48759bfbd073 libavcodec
Apply 'cold' attribute to init/uninit functions in libavcodec
author | zuxy |
---|---|
date | Fri, 21 Mar 2008 03:11:20 +0000 |
parents | 493dc59d469a |
children | 5df0c730234d |
comparison
equal
deleted
inserted
replaced
6516:dbb902bb2347 | 6517:48759bfbd073 |
---|---|
131 return -1; | 131 return -1; |
132 else | 132 else |
133 return 0; | 133 return 0; |
134 } | 134 } |
135 | 135 |
136 static int encode_init(AVCodecContext *avctx) | 136 static av_cold int encode_init(AVCodecContext *avctx) |
137 { | 137 { |
138 MpegEncContext *s = avctx->priv_data; | 138 MpegEncContext *s = avctx->priv_data; |
139 | 139 |
140 if(MPV_encode_init(avctx) < 0) | 140 if(MPV_encode_init(avctx) < 0) |
141 return -1; | 141 return -1; |