[MPlayer-dev-eng] [PATCH] ao_null buglet

Tobias Diedrich td at informatik.uni-hannover.de
Mon Jan 28 09:16:42 CET 2002


And there I was, wondering why mplayer would say it can't initialize
ao_null:

I believe the ao_null.c/init() should return 1 (success) and not 0
(failure).

Patch attached.

-- 
Tobias								PGP: 0x9AC7E0BC
Hannover Fantreffen ML: mailto:fantreffen-request at mantrha.de?subject=subscribe
Manga & Anime Treff Hannover: http://www.mantrha.de/
-------------- next part --------------
--- main/libao2/ao_null.c.orig	Mon Jan 28 00:06:33 2002
+++ main/libao2/ao_null.c	Mon Jan 28 00:06:37 2002
@@ -26,7 +26,7 @@
 
     ao_data.outburst=4096;
 
-    return 0;
+    return 1;
 }
 
 // close audio device


More information about the MPlayer-dev-eng mailing list