[FFmpeg-cvslog] Revert "avformat/format: silence -Wdiscarded-qualifiers"
Timothy Gu
git at videolan.org
Thu Sep 17 04:54:13 CEST 2015
ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Wed Sep 16 19:53:13 2015 -0700| [d36eac698f65dc78eac7cccdecf6fdd7b058778e] | committer: Timothy Gu
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 at gmx.at>
Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d36eac698f65dc78eac7cccdecf6fdd7b058778e
---
libavformat/format.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/format.c b/libavformat/format.c
index 9c40512..fd81d7a 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;
More information about the ffmpeg-cvslog
mailing list