From 40aba994fff86f32a7b9c77cad91be00a113d400 Mon Sep 17 00:00:00 2001 From: smorlat <smorlat@3f6dc0c8-ddfe-455d-9043-3cd528dc4637> Date: Fri, 6 Nov 2009 12:59:52 +0000 Subject: [PATCH] ms_bufferizer_flush(): must set size = 0 git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@753 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/mediastreamer2/src/msqueue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linphone/mediastreamer2/src/msqueue.c b/linphone/mediastreamer2/src/msqueue.c index b0fb205c6a..66172a517d 100644 --- a/linphone/mediastreamer2/src/msqueue.c +++ b/linphone/mediastreamer2/src/msqueue.c @@ -103,6 +103,7 @@ int ms_bufferizer_read(MSBufferizer *obj, uint8_t *data, int datalen){ } void ms_bufferizer_flush(MSBufferizer *obj){ + obj->size=0; flushq(&obj->q,0); } -- GitLab