bgmc: Do not mark ff_bgmc_decode_init() as av_cold
authorDiego Biurrun <diego@biurrun.de>
Sun, 5 May 2013 18:51:52 +0000 (20:51 +0200)
committerDiego Biurrun <diego@biurrun.de>
Sun, 5 May 2013 18:51:52 +0000 (20:51 +0200)
The function is possibly called once per block.

libavcodec/bgmc.c

index c0ebcac..c7f732e 100644 (file)
@@ -485,8 +485,8 @@ av_cold void ff_bgmc_end(uint8_t **cf_lut, int **cf_lut_status)
 
 
 /** Initialize decoding and reads the first value */
-av_cold void ff_bgmc_decode_init(GetBitContext *gb, unsigned int *h,
-                                 unsigned int *l, unsigned int *v)
+void ff_bgmc_decode_init(GetBitContext *gb, unsigned int *h,
+                         unsigned int *l, unsigned int *v)
 {
     *h = TOP_VALUE;
     *l = 0;