Ticket #5850: patchv4l2.diff
| File patchv4l2.diff, 406 bytes (added by , 10 years ago) |
|---|
-
libavdevice/v4l2.c
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index ddf331d..eb043c5 100644
a b static int device_try_init(AVFormatContext *ctx, 810 810 static int v4l2_read_probe(AVProbeData *p) 811 811 { 812 812 if (av_strstart(p->filename, "/dev/video", NULL)) 813 return AVPROBE_SCORE_MAX -1;813 return AVPROBE_SCORE_MAX / 4 + 1; 814 814 return 0; 815 815 } 816 816
