Mercurial > libavcodec.hg
diff intrax8.c @ 8737:eeca2fc122f8 libavcodec
Add av_cold attributes to *_init and *_end functions.
author | alexc |
---|---|
date | Tue, 03 Feb 2009 23:09:00 +0000 |
parents | e9d9d946f213 |
children | 25b3650b4db5 |
line wrap: on
line diff
--- a/intrax8.c Tue Feb 03 22:59:47 2009 +0000 +++ b/intrax8.c Tue Feb 03 23:09:00 2009 +0000 @@ -42,7 +42,7 @@ 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 @@ * @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 @@ * 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); }