comparison ws-snd1.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 64394c86a053
children 5df0c730234d
comparison
equal deleted inserted replaced
6516:dbb902bb2347 6517:48759bfbd073
34 -9, -8, -6, -5, -4, -3, -2, -1, 34 -9, -8, -6, -5, -4, -3, -2, -1,
35 0, 1, 2, 3, 4, 5, 6, 8 }; 35 0, 1, 2, 3, 4, 5, 6, 8 };
36 36
37 #define CLIP8(a) if(a>127)a=127;if(a<-128)a=-128; 37 #define CLIP8(a) if(a>127)a=127;if(a<-128)a=-128;
38 38
39 static int ws_snd_decode_init(AVCodecContext * avctx) 39 static av_cold int ws_snd_decode_init(AVCodecContext * avctx)
40 { 40 {
41 // WSSNDContext *c = avctx->priv_data; 41 // WSSNDContext *c = avctx->priv_data;
42 42
43 return 0; 43 return 0;
44 } 44 }