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

@@ -368,7 +368,7 @@ static int r3d_read_packet(AVFormatContext *s, AVPacket *pkt)
return err;
}
static int r3d_probe(AVProbeData *p)
static int r3d_probe(const AVProbeData *p)
{
if (AV_RL32(p->buf + 4) == MKTAG('R','E','D','1'))
return AVPROBE_SCORE_MAX;