<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
18.12.2011 12:14, Alexey Sokolov пишет:
<blockquote cite="mid:4EED76C5.4090406@alexeysokolov.co.cc"
type="cite">
<pre wrap="">17.12.2011 04:47, Martin Storsjö пишет:
</pre>
<blockquote type="cite">
<pre wrap="">diff --git a/vlc-android/src/org/videolan/vlc/android/LibVLC.java b/vlc-android/src/org/videolan/vlc/android/LibVLC.java
index 8cd436e..8f9b67a 100644
--- a/vlc-android/src/org/videolan/vlc/android/LibVLC.java
+++ b/vlc-android/src/org/videolan/vlc/android/LibVLC.java
@@ -30,6 +30,11 @@ public class LibVLC {
/* Load library before object instantiation */
static {
try {
+ System.loadLibrary("iomx");
+ } catch (Throwable t) {
+ t.printStackTrace();
</pre>
</blockquote>
<pre wrap="">Why t.printStackTrace() instead of Log.e()?</pre>
</blockquote>
Uhm, and why catching Throwable instead of only errors producable by
System.loadLibrary()?<br>
<blockquote cite="mid:4EED76C5.4090406@alexeysokolov.co.cc"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">+ }
+ try {
System.loadLibrary("vlcjni");
} catch (UnsatisfiedLinkError ule) {
Log.e(TAG, "Can't load vlcjni library: " + ule);
</pre>
</blockquote>
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
<a class="moz-txt-link-freetext" href="http://mailman.videolan.org/listinfo/vlc-devel">http://mailman.videolan.org/listinfo/vlc-devel</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards,
Alexey "DarthGandalf" Sokolov</pre>
</body>
</html>