summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xine-engine/buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xine-engine/buffer.c b/src/xine-engine/buffer.c
index 5b9c83dff..4d1c50805 100644
--- a/src/xine-engine/buffer.c
+++ b/src/xine-engine/buffer.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: buffer.c,v 1.17 2002/07/14 22:27:24 miguelfreitas Exp $
+ * $Id: buffer.c,v 1.18 2002/07/17 18:36:44 miguelfreitas Exp $
*
*
* contents:
@@ -107,6 +107,7 @@ static buf_element_t *buffer_pool_alloc (fifo_buffer_t *this) {
/* set sane values to the newly allocated buffer */
buf->content = buf->mem; /* 99% of demuxers will want this */
buf->pts = 0;
+ buf->size = 0;
buf->input_pos = buf->input_length = buf->input_time = 0;
buf->decoder_flags = 0;