aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-05-05 20:51:52 +0200
committerDiego Biurrun <diego@biurrun.de>2013-05-05 20:51:52 +0200
commit2d5fd7886a29b36e696d01ee777c886b421f4eb2 (patch)
treedb392c7ea0199d53ddc48cc677446a7f64396943
parentbd8ac882140a38868c33c000a430a1292a352533 (diff)
downloadffmpeg-2d5fd7886a29b36e696d01ee777c886b421f4eb2.tar.gz
bgmc: Do not mark ff_bgmc_decode_init() as av_cold
The function is possibly called once per block.
-rw-r--r--libavcodec/bgmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/bgmc.c b/libavcodec/bgmc.c
index c0ebcacb04..c7f732e7bb 100644
--- a/libavcodec/bgmc.c
+++ b/libavcodec/bgmc.c
@@ -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;