pkgsrc/audio/darkice/patches/patch-ac
2008-08-02 17:43:56 +00:00

15 lines
682 B
Text

$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__,