summaryrefslogtreecommitdiff
path: root/libavcodec/adxdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-08-17 17:08:25 +0000
committerDiego Biurrun <diego@biurrun.de>2008-08-17 17:08:25 +0000
commitdefa0cd6f53c5696a999198009b8e0fc662ff2ae (patch)
treedc66f92e3f7168aa9101b796d4d91b6345de8d3a /libavcodec/adxdec.c
parent8cb2db4edbe6a17703d491cada82f98114d88a8a (diff)
downloadffmpeg-defa0cd6f53c5696a999198009b8e0fc662ff2ae.tar.gz
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
Diffstat (limited to 'libavcodec/adxdec.c')
-rw-r--r--libavcodec/adxdec.c2
1 files changed, 1 insertions, 1 deletions
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;