summaryrefslogtreecommitdiff
blob: 130124b7919227ad65e8ff201912da12914ec779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Fix loading of libmp4v2.so.2 from mp4v2-1.9.1_p497

--- 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;