diff --git a/libavformat/format.c b/libavformat/format.c index fd81d7a132..9c405120da 100644 --- a/libavformat/format.c +++ b/libavformat/format.c @@ -172,7 +172,7 @@ AVInputFormat *av_probe_input_format3(AVProbeData *pd, int is_opened, AVProbeData lpd = *pd; AVInputFormat *fmt1 = NULL, *fmt; int score, nodat = 0, score_max = 0; - const static uint8_t zerobuffer[AVPROBE_PADDING_SIZE]; + static uint8_t zerobuffer[AVPROBE_PADDING_SIZE]; if (!lpd.buf) lpd.buf = zerobuffer;