changeset 7600:3e0103ac9d76 libavcodec

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
author diego
date Sun, 17 Aug 2008 17:08:25 +0000
parents 3c07ce8ac9f7
children 69d5f318275f
files adxdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/adxdec.c	Sun Aug 17 16:10:46 2008 +0000
+++ b/adxdec.c	Sun Aug 17 17:08:25 2008 +0000
@@ -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;