[vlc-commits] v4l2: fix opening of libv4l

Rémi Denis-Courmont git at videolan.org
Wed Jun 26 21:36:21 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun 26 22:36:08 2013 +0300| [22a73d256b332d0749964fc74d8024053efc3800] | committer: Rémi Denis-Courmont

v4l2: fix opening of libv4l

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22a73d256b332d0749964fc74d8024053efc3800
---

 modules/access/v4l2/lib.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/v4l2/lib.c b/modules/access/v4l2/lib.c
index 3c662aa..cf2b480 100644
--- a/modules/access/v4l2/lib.c
+++ b/modules/access/v4l2/lib.c
@@ -48,7 +48,7 @@ static int fd_open (int fd, int flags)
 
 static void v4l2_lib_load (void)
 {
-    void *h = dlopen ("libv4l2.so", RTLD_LAZY | RTLD_LOCAL);
+    void *h = dlopen ("libv4l2.so.0", RTLD_LAZY | RTLD_LOCAL);
     if (h == NULL)
         goto fallback;
 



More information about the vlc-commits mailing list