projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cb2db4
)
Mark adx_decode_init() as type int instead of void, the function returns
author
Diego Biurrun
<diego@biurrun.de>
Sun, 17 Aug 2008 17:08:25 +0000
(17:08 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Sun, 17 Aug 2008 17:08:25 +0000
(17:08 +0000)
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
libavcodec/adxdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/adxdec.c
b/libavcodec/adxdec.c
index
8765a45
..
5512d7f
100644
(file)
--- 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;