Codebase list squeezelite / 182c1523-8879-493a-b0f4-cb2424b73df5/main alpine / load-libtremor-first.patch
182c1523-8879-493a-b0f4-cb2424b73df5/main

Tree @182c1523-8879-493a-b0f4-cb2424b73df5/main (Download .tar.gz)

load-libtremor-first.patch @182c1523-8879-493a-b0f4-cb2424b73df5/mainraw · history · blame

Index: vorbis.c
===================================================================
--- squeezelite/vorbis.c	(revision 1213)
+++ squeezelite/vorbis.c	(working copy)
@@ -320,14 +320,14 @@
 
 static bool load_vorbis() {
 #if !LINKALL
-	void *handle = dlopen(LIBVORBIS, RTLD_NOW);
+	void *handle = dlopen(LIBTREMOR, RTLD_NOW);
 	char *err;
-	bool tremor = false;
+	bool tremor = true;
 
 	if (!handle) {
-		handle = dlopen(LIBTREMOR, RTLD_NOW);
+		handle = dlopen(LIBVORBIS, RTLD_NOW);
 		if (handle) {
-			tremor = true;
+			tremor = false;
 		} else {
 			LOG_INFO("dlerror: %s", dlerror());
 			return false;