mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 19:49:56 +00:00
lavd/v4l2: Fix the type of the probe function.
This commit is contained in:
parent
5252d594a1
commit
5fceac1cdb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user