[vlc-commits] v4l2: fix opening of libv4l

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


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

v4l2: fix opening of libv4l

(cherry picked from commit 22a73d256b332d0749964fc74d8024053efc3800)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=5188ea58db655fc5a1aa11efa9c9d3fb8b9e4c90
---

 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