From defa0cd6f53c5696a999198009b8e0fc662ff2ae Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 17 Aug 2008 17:08:25 +0000 Subject: [PATCH] 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 --- libavcodec/adxdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/adxdec.c b/libavcodec/adxdec.c index 8765a456dd..5512d7fc56 100644 --- a/libavcodec/adxdec.c +++ b/libavcodec/adxdec.c @@ -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;