diff options
author | Daniel Verkamp <daniel@drv.nu> | 2009-02-22 13:48:55 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-02-22 13:48:55 +0000 |
commit | 5ef251e50437ce84a00735c5cac8dd836fb032e9 (patch) | |
tree | e752d1fdee8e36709b00b5af5005599ccd071375 /libavcodec/mpegvideo.c | |
parent | 50ded3fdb65aa6298253a1522c0981c3e113d022 (diff) | |
download | ffmpeg-streaming-5ef251e50437ce84a00735c5cac8dd836fb032e9.zip ffmpeg-streaming-5ef251e50437ce84a00735c5cac8dd836fb032e9.tar.gz |
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
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 06d842b..e367874 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -107,7 +107,7 @@ const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end } /* 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 @@ void MPV_decode_defaults(MpegEncContext *s){ * 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; |