synth_output always clears outpos

This commit is contained in:
Glenn Maynard
2006-12-09 08:42:19 +00:00
parent d24f70800d
commit c82cf0be7a
+1 -2
View File
@@ -496,7 +496,7 @@ int RageSoundReader_MP3::do_mad_frame_decode( bool headers_only )
void RageSoundReader_MP3::synth_output()
{
mad->outleft = 0;
mad->outleft = mad->outpos = 0;
if( MAD_NCHANNELS(&mad->Frame.header) != this->Channels )
{
@@ -749,7 +749,6 @@ int RageSoundReader_MP3::Read( char *buf, unsigned len )
if( ret == -1 )
return -1;
mad->outpos = 0;
synth_output();
}