From 66896eca3a6171deba1e682ccee6571d29e66fd8 Mon Sep 17 00:00:00 2001 From: James Stembridge Date: Fri, 14 Mar 2003 21:18:09 +0000 Subject: Only probe driver files with a .so extension CVS patchset: 4417 CVS date: 2003/03/14 21:18:09 --- src/video_out/vidix/vidixlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_out/vidix/vidixlib.c b/src/video_out/vidix/vidixlib.c index 2c57eb4f5..e43a68088 100644 --- a/src/video_out/vidix/vidixlib.c +++ b/src/video_out/vidix/vidixlib.c @@ -202,7 +202,7 @@ static int vdl_find_driver(VDL_HANDLE stream,const char *path,unsigned cap,int v name = readdir(dstream); if(name) { - if(name->d_name[0] != '.') + if(name->d_name[0] != '.' && strstr(name->d_name, ".so")) if(vdl_probe_driver(stream,path,name->d_name,cap,verbose)) break; } else done = 1; -- cgit v1.2.3