Mercurial > libavcodec.hg
comparison vp6.c @ 6517:48759bfbd073 libavcodec
Apply 'cold' attribute to init/uninit functions in libavcodec
author | zuxy |
---|---|
date | Fri, 21 Mar 2008 03:11:20 +0000 |
parents | e39e03d99d24 |
children | 5b3acf9fd50a |
comparison
equal
deleted
inserted
replaced
6516:dbb902bb2347 | 6517:48759bfbd073 |
---|---|
608 vp6_filter_diag2(s, dst, src+offset1 + ((mv.x^mv.y)>>31), stride, x8, y8); | 608 vp6_filter_diag2(s, dst, src+offset1 + ((mv.x^mv.y)>>31), stride, x8, y8); |
609 } | 609 } |
610 } | 610 } |
611 } | 611 } |
612 | 612 |
613 static int vp6_decode_init(AVCodecContext *avctx) | 613 static av_cold int vp6_decode_init(AVCodecContext *avctx) |
614 { | 614 { |
615 vp56_context_t *s = avctx->priv_data; | 615 vp56_context_t *s = avctx->priv_data; |
616 | 616 |
617 vp56_init(avctx, avctx->codec->id == CODEC_ID_VP6, | 617 vp56_init(avctx, avctx->codec->id == CODEC_ID_VP6, |
618 avctx->codec->id == CODEC_ID_VP6A); | 618 avctx->codec->id == CODEC_ID_VP6A); |