diff --git a/libavdevice/alsa-audio-dec.c b/libavdevice/alsa-audio-dec.c index 48ed75ee1f..da6746cf18 100644 --- a/libavdevice/alsa-audio-dec.c +++ b/libavdevice/alsa-audio-dec.c @@ -50,7 +50,7 @@ #include "alsa-audio.h" -av_cold static int audio_read_header(AVFormatContext *s1, +static av_cold int audio_read_header(AVFormatContext *s1, AVFormatParameters *ap) { AlsaData *s = s1->priv_data; diff --git a/libavdevice/alsa-audio-enc.c b/libavdevice/alsa-audio-enc.c index 901af8b19b..40eb5ba2ac 100644 --- a/libavdevice/alsa-audio-enc.c +++ b/libavdevice/alsa-audio-enc.c @@ -42,7 +42,7 @@ #include "alsa-audio.h" -av_cold static int audio_write_header(AVFormatContext *s1) +static av_cold int audio_write_header(AVFormatContext *s1) { AlsaData *s = s1->priv_data; AVStream *st;