From cb6de429a0cb9f5f5d557ff20de80516782bec1f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 13 Sep 2010 12:31:40 +0200 Subject: [PATCH] rtpsession: compute the average correctly scaled --- gst/rtpmanager/rtpsession.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 6348665feb..5403bc1616 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -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