diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-08-17 17:08:25 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-08-17 17:08:25 +0000 |
commit | defa0cd6f53c5696a999198009b8e0fc662ff2ae (patch) | |
tree | dc66f92e3f7168aa9101b796d4d91b6345de8d3a /libavcodec/adxdec.c | |
parent | 8cb2db4edbe6a17703d491cada82f98114d88a8a (diff) | |
download | ffmpeg-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.c | 2 |
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; |