[vlc-devel] commit: test: Fix meta.c test building. (Pierre d'Herbemont )

git version control git at videolan.org
Thu May 21 07:06:04 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Wed May 20 22:01:06 2009 -0700| [59a1556a3c5a1b0a2648e7e522c3782fd72bec12] | committer: Pierre d'Herbemont 

test: Fix meta.c test building.

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

 test/libvlc/meta.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/test/libvlc/meta.c b/test/libvlc/meta.c
index f2e5963..3743733 100644
--- a/test/libvlc/meta.c
+++ b/test/libvlc/meta.c
@@ -22,6 +22,8 @@
  *  http://www.gnu.org/copyleft/gpl.html                              *
  **********************************************************************/
 
+#include <strings.h>
+
 #include "test.h"
 
 static void test_meta (const char ** argv, int argc)
@@ -51,7 +53,7 @@ static void test_meta (const char ** argv, int argc)
     while (!libvlc_media_is_preparsed (media, &ex))
     {
         catch ();
-        msleep (10000);
+        usleep (10000);
     }
 
     artist = libvlc_media_get_meta (media, libvlc_meta_Artist, &ex);




More information about the vlc-devel mailing list