1
0
Fork 0
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:
jules 2008-12-05 18:41:01 +00:00
parent 3c230a4db7
commit 8f4ced62e2

View file

@ -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);