]> git.sesse.net Git - ffmpeg/commitdiff
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 1b9c6e760b419247ba95df33828012f45164acef..a9a0ed324d4644731f78144d6febdb72f48e3c66 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;