diff --git a/darkice/trunk/src/Ref.h b/darkice/trunk/src/Ref.h index 2e0968d..c02c12c 100644 --- a/darkice/trunk/src/Ref.h +++ b/darkice/trunk/src/Ref.h @@ -147,7 +147,7 @@ class Ref * @return the pointer to the object referenced. */ inline T* - operator->() const throw () + operator->() const throw ( Exception ) { if ( !object ) { throw Exception( __FILE__, __LINE__, @@ -300,6 +300,9 @@ class Ref $Source$ $Log$ + Revision 1.5 2002/08/20 20:07:36 darkeye + minor fixes + Revision 1.4 2002/02/20 11:51:27 darkeye added equality operators to compare with pointers diff --git a/darkice/trunk/src/VorbisLibEncoder.h b/darkice/trunk/src/VorbisLibEncoder.h index 2f7af3b..517783b 100644 --- a/darkice/trunk/src/VorbisLibEncoder.h +++ b/darkice/trunk/src/VorbisLibEncoder.h @@ -143,6 +143,9 @@ class VorbisLibEncoder : public AudioEncoder, public virtual Reporter inline void strip ( void ) throw ( Exception ) { + if ( converter ) { + delete converter; + } } /** @@ -441,6 +444,9 @@ class VorbisLibEncoder : public AudioEncoder, public virtual Reporter $Source$ $Log$ + Revision 1.8 2002/08/20 20:07:36 darkeye + minor fixes + Revision 1.7 2002/08/20 19:35:37 darkeye added possibility to specify maximum bitrate for Ogg Vorbis streams