Commit d36eac69 authored by Timothy Gu's avatar Timothy Gu

Revert "avformat/format: silence -Wdiscarded-qualifiers"

This reverts commit 27cbe458.

See
https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179002.htmlRequested-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
Signed-off-by: 's avatarTimothy Gu <timothygu99@gmail.com>
parent 8df9bf8e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment