From: Carl Eugen Hoyos Date: Sat, 23 Mar 2019 22:42:09 +0000 (+0100) Subject: lavd/v4l2: Fix the type of the probe function. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5fceac1cdb823d2ead3538a32430c2016e00f7b2;p=ffmpeg lavd/v4l2: Fix the type of the probe function. --- diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 1b9c6e760b4..a9a0ed324d4 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -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;