summaryrefslogtreecommitdiff
path: root/libavformat/format.c
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-09-16 19:53:13 -0700
committerTimothy Gu <timothygu99@gmail.com>2015-09-16 19:53:13 -0700
commitd36eac698f65dc78eac7cccdecf6fdd7b058778e (patch)
treec5313b43398c4cddf200f1a273f1133f481d29cd /libavformat/format.c
parent8df9bf8e39b5f38c75d63c0ef17965382e634b1c (diff)
downloadffmpeg-d36eac698f65dc78eac7cccdecf6fdd7b058778e.tar.gz
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 <michaelni@gmx.at> Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'libavformat/format.c')
-rw-r--r--libavformat/format.c2
1 files changed, 1 insertions, 1 deletions
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;