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

@@ -1067,7 +1067,7 @@ static int rm_read_close(AVFormatContext *s)
return 0;
}
static int rm_probe(AVProbeData *p)
static int rm_probe(const AVProbeData *p)
{
/* check file header */
if ((p->buf[0] == '.' && p->buf[1] == 'R' &&
@@ -1158,7 +1158,7 @@ AVInputFormat ff_rdt_demuxer = {
.flags = AVFMT_NOFILE,
};
static int ivr_probe(AVProbeData *p)
static int ivr_probe(const AVProbeData *p)
{
if (memcmp(p->buf, ".R1M\x0\x1\x1", 7) &&
memcmp(p->buf, ".REC", 4))