[FFmpeg-cvslog] r14814 - trunk/libavcodec/adxdec.c

diego subversion
Sun Aug 17 19:08:25 CEST 2008


Author: diego
Date: Sun Aug 17 19:08:25 2008
New Revision: 14814

Log:
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


Modified:
   trunk/libavcodec/adxdec.c

Modified: trunk/libavcodec/adxdec.c
==============================================================================
--- trunk/libavcodec/adxdec.c	(original)
+++ trunk/libavcodec/adxdec.c	Sun Aug 17 19:08:25 2008
@@ -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;




More information about the ffmpeg-cvslog mailing list