OSDN Git Service

aacdec: fix strict prototype warning
authorHendrik Leppkes <h.leppkes@gmail.com>
Wed, 21 Oct 2015 10:50:44 +0000 (12:50 +0200)
committerHendrik Leppkes <h.leppkes@gmail.com>
Wed, 21 Oct 2015 12:28:08 +0000 (14:28 +0200)
Function protoypes without arguments require a void argument in C,
instead of an empty list.

libavcodec/aacdec_template.c

index aabd3f0..c279510 100644 (file)
@@ -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);