Mercurial > libavcodec.hg
diff mpegvideo.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 | b595a8a59967 |
children | 90c99bda19f5 |
line wrap: on
line diff
--- a/mpegvideo.c Sun Feb 22 11:35:32 2009 +0000 +++ b/mpegvideo.c Sun Feb 22 13:48:55 2009 +0000 @@ -107,7 +107,7 @@ } /* init common dct for both encoder and decoder */ -int ff_dct_common_init(MpegEncContext *s) +av_cold int ff_dct_common_init(MpegEncContext *s) { s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_c; s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_c; @@ -396,7 +396,7 @@ * init common structure for both encoder and decoder. * this assumes that some variables like width/height are already set */ -int MPV_common_init(MpegEncContext *s) +av_cold int MPV_common_init(MpegEncContext *s) { int y_size, c_size, yc_size, i, mb_array_size, mv_table_size, x, y, threads;