[FFmpeg-cvslog] aacdec: fix strict prototype warning
Hendrik Leppkes
git at videolan.org
Wed Oct 21 14:28:25 CEST 2015
ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Wed Oct 21 12:50:44 2015 +0200| [4da52e3630343e8d3a79aef2cafcb6bf0b71e8da] | committer: Hendrik Leppkes
aacdec: fix strict prototype warning
Function protoypes without arguments require a void argument in C,
instead of an empty list.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4da52e3630343e8d3a79aef2cafcb6bf0b71e8da
---
libavcodec/aacdec_template.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/aacdec_template.c b/libavcodec/aacdec_template.c
index aabd3f0..c279510 100644
--- a/libavcodec/aacdec_template.c
+++ b/libavcodec/aacdec_template.c
@@ -1065,7 +1065,7 @@ static void reset_predictor_group(PredictorState *ps, int group_num)
static void aacdec_init(AACContext *ac);
-static av_cold void aac_static_table_init()
+static av_cold void aac_static_table_init(void)
{
AAC_INIT_VLC_STATIC( 0, 304);
AAC_INIT_VLC_STATIC( 1, 270);
More information about the ffmpeg-cvslog
mailing list