From d36eac698f65dc78eac7cccdecf6fdd7b058778e Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Wed, 16 Sep 2015 19:53:13 -0700 Subject: Revert "avformat/format: silence -Wdiscarded-qualifiers" This reverts commit 27cbe4588aeaa3272f16e395bc2a337e1e43e2b6. See https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179002.html Requested-by: Michael Niedermayer Signed-off-by: Timothy Gu --- libavformat/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat') diff --git a/libavformat/format.c b/libavformat/format.c index 9c405120da..fd81d7a132 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; - static uint8_t zerobuffer[AVPROBE_PADDING_SIZE]; + const static uint8_t zerobuffer[AVPROBE_PADDING_SIZE]; if (!lpd.buf) lpd.buf = zerobuffer; -- cgit v1.2.3