Mercurial > libavcodec.hg
comparison imgconvert.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 | ec04c3c5a3e5 |
children | 90c99bda19f5 |
comparison
equal
deleted
inserted
replaced
9006:37ac731fe32c | 9007:043574c5c153 |
---|---|
2168 static uint8_t y_jpeg_to_ccir[256]; | 2168 static uint8_t y_jpeg_to_ccir[256]; |
2169 static uint8_t c_ccir_to_jpeg[256]; | 2169 static uint8_t c_ccir_to_jpeg[256]; |
2170 static uint8_t c_jpeg_to_ccir[256]; | 2170 static uint8_t c_jpeg_to_ccir[256]; |
2171 | 2171 |
2172 /* init various conversion tables */ | 2172 /* init various conversion tables */ |
2173 static void img_convert_init(void) | 2173 static av_cold void img_convert_init(void) |
2174 { | 2174 { |
2175 int i; | 2175 int i; |
2176 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; | 2176 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; |
2177 | 2177 |
2178 for(i = 0;i < 256; i++) { | 2178 for(i = 0;i < 256; i++) { |