Browse Source

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
tags/v0.5
Diego Biurrun 17 years ago
parent
commit
defa0cd6f5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/adxdec.c

+ 1
- 1
libavcodec/adxdec.c View File

@@ -30,7 +30,7 @@
* adx2wav & wav2adx http://www.geocities.co.jp/Playtown/2004/ * 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; avctx->sample_fmt = SAMPLE_FMT_S16;
return 0; return 0;


Loading…
Cancel
Save