lavd/v4l2: Fix the type of the probe function.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Sat, 23 Mar 2019 22:42:09 +0000 (23:42 +0100)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Sat, 23 Mar 2019 22:42:09 +0000 (23:42 +0100)
libavdevice/v4l2.c

index 1b9c6e7..a9a0ed3 100644 (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;