[FFmpeg-devel] [PATCH] aacdec: fix strict prototype warning

Hendrik Leppkes h.leppkes at gmail.com
Wed Oct 21 12:52:10 CEST 2015


Function protoypes without arguments require a void argument in C,
instead of an empty list.
---
 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);
-- 
2.5.3.windows.1



More information about the ffmpeg-devel mailing list