summaryrefslogtreecommitdiff
blob: 39cab41eb4240541ec47613173f0ed8ac7eecb6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Fix loading of libmp4v2.so.2 from mp4v2-1.9.1_p497.
See, http://gtkpod.org/bugs/index.php?do=details&task_id=93

--- plugins/filetype_mp4/mp4file.c
+++ plugins/filetype_mp4/mp4file.c
@@ -317,10 +317,10 @@
 /* mp4v2 initialization code */
 
 void mp4_init() {
-    mp4v2_handle = dlopen("libmp4v2.so.1", RTLD_LAZY);
+    mp4v2_handle = dlopen("libmp4v2.so.2", RTLD_LAZY);
 
     if (!mp4v2_handle) {
-        mp4v2_handle = dlopen("libmp4v2.so.0", RTLD_LAZY);
+        mp4v2_handle = dlopen("libmp4v2.so.1", RTLD_LAZY);
 
         if (!mp4v2_handle) {
             return;