Mark adx_decode_init() as type int instead of void, the function returns

a value.  Fixes the warning:
adxdec.c:36: warning: 'return' with a value, in function returning void

Originally committed as revision 14814 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 17 years ago
parent 8cb2db4edb
commit defa0cd6f5
  1. 2
      libavcodec/adxdec.c

@ -30,7 +30,7 @@
* adx2wav & wav2adx http://www.geocities.co.jp/Playtown/2004/ * adx2wav & wav2adx http://www.geocities.co.jp/Playtown/2004/
*/ */
static av_cold void adx_decode_init(AVCodecContext *avctx) static av_cold int adx_decode_init(AVCodecContext *avctx)
{ {
avctx->sample_fmt = SAMPLE_FMT_S16; avctx->sample_fmt = SAMPLE_FMT_S16;
return 0; return 0;

Loading…
Cancel
Save