comparison adpcm.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 73ed28ea2082
children 01bea2407628
comparison
equal deleted inserted replaced
6516:dbb902bb2347 6517:48759bfbd073
661 } 661 }
662 return dst - frame; 662 return dst - frame;
663 } 663 }
664 #endif //CONFIG_ENCODERS 664 #endif //CONFIG_ENCODERS
665 665
666 static int adpcm_decode_init(AVCodecContext * avctx) 666 static av_cold int adpcm_decode_init(AVCodecContext * avctx)
667 { 667 {
668 ADPCMContext *c = avctx->priv_data; 668 ADPCMContext *c = avctx->priv_data;
669 unsigned int max_channels = 2; 669 unsigned int max_channels = 2;
670 670
671 switch(avctx->codec->id) { 671 switch(avctx->codec->id) {