media/liboggz/bug533822.patch
author Timothy Nikkel <tnikkel@gmail.com>
Thu, 18 Feb 2010 13:23:23 -0600
changeset 38273 5b74da35092c9cd5d8c942adc89c47fa9dc86d45
parent 37973 b76ad6cdd76efb50f512a5fc13c5aecf0ac68092
permissions -rw-r--r--
Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc

diff --git a/media/liboggz/src/liboggz/oggz_seek.c b/media/liboggz/src/liboggz/oggz_seek.c
--- a/media/liboggz/src/liboggz/oggz_seek.c
+++ b/media/liboggz/src/liboggz/oggz_seek.c
@@ -135,16 +135,17 @@ oggz_stream_reset (void * data)
   }
 
   return 0;
 }
 
 static void
 oggz_reset_streams (OGGZ * oggz)
 {
+  oggz_dlist_deliter(oggz->packet_buffer, oggz_read_free_pbuffers);
   oggz_vector_foreach (oggz->streams, oggz_stream_reset);
 }
 
 static long
 oggz_reset_seek (OGGZ * oggz, oggz_off_t offset, ogg_int64_t unit, int whence)
 {
   OggzReader * reader = &oggz->x.reader;