aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/intrax8.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2009-02-03 23:09:00 +0000
committerAlex Converse <alex.converse@gmail.com>2009-02-03 23:09:00 +0000
commit5363c43ea82c1aa878ba7c0fb339ab4ca95249dd (patch)
tree49fc26bcd5eaaca91b82f5343c096924dc5218d5 /libavcodec/intrax8.c
parentbf252f7f6fa9c79743242f3efdd30827c97407b4 (diff)
downloadffmpeg-5363c43ea82c1aa878ba7c0fb339ab4ca95249dd.tar.gz
Add av_cold attributes to *_init and *_end functions.
Originally committed as revision 16980 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/intrax8.c')
-rw-r--r--libavcodec/intrax8.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/intrax8.c b/libavcodec/intrax8.c
index e12926f52d..40ad1fbb8f 100644
--- a/libavcodec/intrax8.c
+++ b/libavcodec/intrax8.c
@@ -42,7 +42,7 @@ static VLC j_ac_vlc[2][2][8]; //[quant<13],[intra/inter],[select]
static VLC j_dc_vlc[2][8]; //[quant], [select]
static VLC j_orient_vlc[2][4]; //[quant], [select]
-static void x8_vlc_init(void){
+static av_cold void x8_vlc_init(void){
int i;
#define init_ac_vlc(dst,src) \
@@ -664,7 +664,7 @@ static void x8_init_block_index(MpegEncContext *s){ //FIXME maybe merge with ff_
* @param w pointer to IntraX8Context
* @param s pointer to MpegEncContext of the parent codec
*/
-void ff_intrax8_common_init(IntraX8Context * w, MpegEncContext * const s){
+av_cold void ff_intrax8_common_init(IntraX8Context * w, MpegEncContext * const s){
w->s=s;
x8_vlc_init();
@@ -680,7 +680,7 @@ void ff_intrax8_common_init(IntraX8Context * w, MpegEncContext * const s){
* Destroy IntraX8 frame structure.
* @param w pointer to IntraX8Context
*/
-void ff_intrax8_common_end(IntraX8Context * w)
+av_cold void ff_intrax8_common_end(IntraX8Context * w)
{
av_freep(&w->prediction_table);
}