mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-26 02:14:22 +00:00
fixed a problem with oggs sometimes not correctly being closed when written
This commit is contained in:
parent
3c230a4db7
commit
8f4ced62e2
1 changed files with 3 additions and 0 deletions
|
|
@ -339,6 +339,9 @@ public:
|
|||
{
|
||||
if (ok)
|
||||
{
|
||||
// write a zero-length packet to show ogg that we're finished..
|
||||
write (0, 0);
|
||||
|
||||
ogg_stream_clear (&os);
|
||||
vorbis_block_clear (&vb);
|
||||
vorbis_dsp_clear (&vd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue