1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavd/v4l2: Fix the type of the probe function.

This commit is contained in:
Carl Eugen Hoyos 2019-03-23 23:42:09 +01:00
parent 5252d594a1
commit 5fceac1cdb

View File

@ -816,7 +816,7 @@ static int device_try_init(AVFormatContext *ctx,
return ret;
}
static int v4l2_read_probe(AVProbeData *p)
static int v4l2_read_probe(const AVProbeData *p)
{
if (av_strstart(p->filename, "/dev/video", NULL))
return AVPROBE_SCORE_MAX - 1;