1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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;