mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Bug in recent commit: "inited" was set to false too soon, last frame was dropped
This commit is contained in:
@@ -273,7 +273,6 @@ namespace CUETools.Codecs.FLACCL
|
|||||||
{
|
{
|
||||||
if (inited)
|
if (inited)
|
||||||
{
|
{
|
||||||
inited = false;
|
|
||||||
int nFrames = samplesInBuffer / m_blockSize;
|
int nFrames = samplesInBuffer / m_blockSize;
|
||||||
if (nFrames > 0)
|
if (nFrames > 0)
|
||||||
do_output_frames(nFrames);
|
do_output_frames(nFrames);
|
||||||
@@ -338,7 +337,6 @@ namespace CUETools.Codecs.FLACCL
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
_IO.Close();
|
_IO.Close();
|
||||||
|
|
||||||
inited = false;
|
inited = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user