comparison zmbv.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 863a6c0ff6ad
children f282270c589f
comparison
equal deleted inserted replaced
6516:dbb902bb2347 6517:48759bfbd073
587 /* 587 /*
588 * 588 *
589 * Init zmbv decoder 589 * Init zmbv decoder
590 * 590 *
591 */ 591 */
592 static int decode_init(AVCodecContext *avctx) 592 static av_cold int decode_init(AVCodecContext *avctx)
593 { 593 {
594 ZmbvContext * const c = avctx->priv_data; 594 ZmbvContext * const c = avctx->priv_data;
595 int zret; // Zlib return code 595 int zret; // Zlib return code
596 596
597 c->avctx = avctx; 597 c->avctx = avctx;
636 /* 636 /*
637 * 637 *
638 * Uninit zmbv decoder 638 * Uninit zmbv decoder
639 * 639 *
640 */ 640 */
641 static int decode_end(AVCodecContext *avctx) 641 static av_cold int decode_end(AVCodecContext *avctx)
642 { 642 {
643 ZmbvContext * const c = avctx->priv_data; 643 ZmbvContext * const c = avctx->priv_data;
644 644
645 av_freep(&c->decomp_buf); 645 av_freep(&c->decomp_buf);
646 646