[svn-commits] oej: branch oej/chocolate-video-congestion-11 r433321 - /team/oej/chocolate-v...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 24 04:49:50 CDT 2015


Author: oej
Date: Tue Mar 24 04:49:47 2015
New Revision: 433321

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=433321
Log:
Making the compiler happy

Modified:
    team/oej/chocolate-video-congestion-11/res/res_rtp_asterisk.c

Modified: team/oej/chocolate-video-congestion-11/res/res_rtp_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/chocolate-video-congestion-11/res/res_rtp_asterisk.c?view=diff&rev=433321&r1=433320&r2=433321
==============================================================================
--- team/oej/chocolate-video-congestion-11/res/res_rtp_asterisk.c (original)
+++ team/oej/chocolate-video-congestion-11/res/res_rtp_asterisk.c Tue Mar 24 04:49:47 2015
@@ -3815,6 +3815,9 @@
 		struct timeval now;
 		double rttsec, reported_jitter, reported_normdev_jitter_current, normdevrtt_current, reported_lost, reported_normdev_lost_current;
 		uint64_t rtt = 0;
+		/* For REMB support */
+		int fmt = 0;
+		int version = 0;
 
 		i = position;
 		length = ntohl(rtcpheader[i]);
@@ -4034,12 +4037,6 @@
 			break;
 
 		case RTCP_PT_RTPFB:	/* RTP feedback */
-			int fmt = 0;
-			int version = 0;
-			int length = 0;
-			int pt;
-
-			
 
 			/* From RFC 4585, section 6.1
  			0                   1                   2                   3




More information about the svn-commits mailing list