[FFmpeg-devel] [PATCH] aacdec: fix strict prototype warning
Paul B Mahol
onemda at gmail.com
Wed Oct 21 13:48:11 CEST 2015
On 10/21/15, Hendrik Leppkes <h.leppkes at gmail.com> wrote:
> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
lgtm
More information about the ffmpeg-devel
mailing list