Mark adx_decode_init() as type int instead of void, the function returns
authorDiego Biurrun <diego@biurrun.de>
Sun, 17 Aug 2008 17:08:25 +0000 (17:08 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 17 Aug 2008 17:08:25 +0000 (17:08 +0000)
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

libavcodec/adxdec.c

index 8765a45..5512d7f 100644 (file)
@@ -30,7 +30,7 @@
  * 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;
     return 0;