comparison vp56.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 1b91ce6c758c
children c00f5cad61cc
comparison
equal deleted inserted replaced
6516:dbb902bb2347 6517:48759bfbd073
641 *data_size = sizeof(AVFrame); 641 *data_size = sizeof(AVFrame);
642 642
643 return buf_size; 643 return buf_size;
644 } 644 }
645 645
646 void vp56_init(AVCodecContext *avctx, int flip, int has_alpha) 646 av_cold void vp56_init(AVCodecContext *avctx, int flip, int has_alpha)
647 { 647 {
648 vp56_context_t *s = avctx->priv_data; 648 vp56_context_t *s = avctx->priv_data;
649 int i; 649 int i;
650 650
651 s->avctx = avctx; 651 s->avctx = avctx;
681 s->frbi = 0; 681 s->frbi = 0;
682 s->srbi = 2; 682 s->srbi = 2;
683 } 683 }
684 } 684 }
685 685
686 int vp56_free(AVCodecContext *avctx) 686 av_cold int vp56_free(AVCodecContext *avctx)
687 { 687 {
688 vp56_context_t *s = avctx->priv_data; 688 vp56_context_t *s = avctx->priv_data;
689 689
690 av_free(s->above_blocks); 690 av_free(s->above_blocks);
691 av_free(s->macroblocks); 691 av_free(s->macroblocks);