lavf: Constify the probe function argument.

Reviewed-by: Lauri Kasanen
Reviewed-by: Tomas Härdin
This commit is contained in:
Carl Eugen Hoyos
2019-03-21 01:18:37 +01:00
parent 6dc1da416e
commit 4d8875ec23
214 changed files with 256 additions and 256 deletions

View File

@@ -211,7 +211,7 @@ fail:
return ret;
}
static int raw_flac_probe(AVProbeData *p)
static int raw_flac_probe(const AVProbeData *p)
{
if ((p->buf[2] & 0xF0) == 0) // blocksize code invalid
return 0;
@@ -227,7 +227,7 @@ static int raw_flac_probe(AVProbeData *p)
return AVPROBE_SCORE_EXTENSION / 4 + 1;
}
static int flac_probe(AVProbeData *p)
static int flac_probe(const AVProbeData *p)
{
if ((AV_RB16(p->buf) & 0xFFFE) == 0xFFF8)
return raw_flac_probe(p);