Browse Source

bgmc: Do not mark ff_bgmc_decode_init() as av_cold

The function is possibly called once per block.
tags/n2.0
Diego Biurrun 12 years ago
parent
commit
2d5fd7886a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/bgmc.c

+ 2
- 2
libavcodec/bgmc.c View 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 */ /** 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; *h = TOP_VALUE;
*l = 0; *l = 0;


Loading…
Cancel
Save