rtpsession: compute the average correctly scaled

This commit is contained in:
Wim Taymans 2010-09-13 12:31:40 +02:00
parent 64e4ffa25b
commit cb6de429a0

View file

@ -80,7 +80,7 @@ enum
if ((avg) == 0) \
(avg) = (val) << 4; \
else \
(avg) = ((val) + (15 * (avg))) >> 4;
(avg) = ((val) + (15 * (avg)));
/* The number RTCP intervals after which to timeout entries in the
* collision table