Browse Source

lavd/v4l2: Fix the type of the probe function.

tags/n4.2
Carl Eugen Hoyos 7 years ago
parent
commit
5fceac1cdb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavdevice/v4l2.c

+ 1
- 1
libavdevice/v4l2.c View 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;


Loading…
Cancel
Save