Mercurial > libavcodec.hg
comparison wavpack.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 | 67e4586d3c1b |
children | a4104482ceef |
comparison
equal
deleted
inserted
replaced
6516:dbb902bb2347 | 6517:48759bfbd073 |
---|---|
352 return -1; | 352 return -1; |
353 } | 353 } |
354 return count; | 354 return count; |
355 } | 355 } |
356 | 356 |
357 static int wavpack_decode_init(AVCodecContext *avctx) | 357 static av_cold int wavpack_decode_init(AVCodecContext *avctx) |
358 { | 358 { |
359 WavpackContext *s = avctx->priv_data; | 359 WavpackContext *s = avctx->priv_data; |
360 | 360 |
361 s->avctx = avctx; | 361 s->avctx = avctx; |
362 s->stereo = (avctx->channels == 2); | 362 s->stereo = (avctx->channels == 2); |