[FFmpeg-cvslog] lavd/v4l2: Fix the type of the probe function.
Carl Eugen Hoyos
git at videolan.org
Sun Mar 24 00:42:33 EET 2019
ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Sat Mar 23 23:42:09 2019 +0100| [5fceac1cdb823d2ead3538a32430c2016e00f7b2] | committer: Carl Eugen Hoyos
lavd/v4l2: Fix the type of the probe function.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5fceac1cdb823d2ead3538a32430c2016e00f7b2
---
libavdevice/v4l2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 1b9c6e760b..a9a0ed324d 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;
More information about the ffmpeg-cvslog
mailing list