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
This commit is contained in:
Diego Biurrun 2008-08-17 17:08:25 +00:00
parent 8cb2db4edb
commit defa0cd6f5
1 changed files with 1 additions and 1 deletions

View 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;