[FFmpeg-devel] [PATCH] avformat: Drop const qualifier to avoid compiler warning
Himangi Saraogi
himangi774 at gmail.com
Tue Apr 7 00:01:25 CEST 2015
---
libavformat/format.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/format.c b/libavformat/format.c
index fa94b7d..0713849 100644
--- a/libavformat/format.c
+++ b/libavformat/format.c
@@ -172,7 +172,8 @@ 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;
--
1.9.1
More information about the ffmpeg-devel
mailing list