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

@@ -43,7 +43,7 @@ typedef struct {
int frames_per_packet;
} Codec2Context;
static int codec2_probe(AVProbeData *p)
static int codec2_probe(const AVProbeData *p)
{
//must start wih C0 DE C2
if (AV_RB24(p->buf) != AVPRIV_CODEC2_MAGIC) {