[FFmpeg-cvslog] bgmc: Do not mark ff_bgmc_decode_init() as av_cold

Diego Biurrun git at videolan.org
Mon May 6 10:41:58 CEST 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun May  5 20:51:52 2013 +0200| [2d5fd7886a29b36e696d01ee777c886b421f4eb2] | committer: Diego Biurrun

bgmc: Do not mark ff_bgmc_decode_init() as av_cold

The function is possibly called once per block.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2d5fd7886a29b36e696d01ee777c886b421f4eb2
---

 libavcodec/bgmc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/bgmc.c b/libavcodec/bgmc.c
index c0ebcac..c7f732e 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;



More information about the ffmpeg-cvslog mailing list