summaryrefslogtreecommitdiffstats
path: root/libhb/muxogm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/muxogm.c')
-rw-r--r--libhb/muxogm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/muxogm.c b/libhb/muxogm.c
index 6a3b1ec5d..656c8e780 100644
--- a/libhb/muxogm.c
+++ b/libhb/muxogm.c
@@ -336,6 +336,8 @@ static int OGMEnd( hb_mux_object_t * m )
{
return -1;
}
+ ogg_stream_clear( &mux_data->os );
+
for( i = 0; i < hb_list_count( title->list_audio ); i++ )
{
audio = hb_list_item( title->list_audio, i );
@@ -344,6 +346,7 @@ static int OGMEnd( hb_mux_object_t * m )
{
return -1;
}
+ ogg_stream_clear( &mux_data->os );
}
fclose( m->file );