aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-23 23:42:09 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-23 23:42:09 +0100
commit5fceac1cdb823d2ead3538a32430c2016e00f7b2 (patch)
treef6aa667d7d223fefde1addb4bcbb6b059ae058fb /libavdevice
parent5252d594a155cdb0a0e2529961b999cda96f0fa5 (diff)
downloadffmpeg-5fceac1cdb823d2ead3538a32430c2016e00f7b2.tar.gz
lavd/v4l2: Fix the type of the probe function.
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/v4l2.c2
1 files changed, 1 insertions, 1 deletions
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;