Commit 5fceac1c authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

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

parent 5252d594
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment