summaryrefslogtreecommitdiff
path: root/audio/darkice/patches/patch-ac
blob: bd0619b76e4ff12ac280ec8df5c52ea3e5b1a77e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.3 2008/08/02 17:43:56 dholland Exp $

--- src/TwoLameLibEncoder.cpp~	2006-01-25 17:49:59.000000000 -0500
+++ src/TwoLameLibEncoder.cpp	2008-08-02 13:42:36.000000000 -0400
@@ -116,9 +116,9 @@ TwoLameLibEncoder :: open ( void )
     // ugly twolame returns -1 in a pointer on allocation errors
     if ( !twolame_opts  ) {
         throw Exception( __FILE__, __LINE__,
                          "TwoLAME lib init error",
-                         (int) twolame_opts);
+                         /*(int) twolame_opts*/ /* why? */  0);
     }
 
     if ( 0 > twolame_set_num_channels( twolame_opts, getInChannel()) ) {
         throw Exception( __FILE__, __LINE__,