Originally committed as revision 10929 to svn://svn.ffmpeg.org/ffmpeg/trunk
//#define DEBUG
+#define RTCP_SR_SIZE 28
/* TODO: - add RTCP statistics reporting (should be optional).
/* XXX: mpeg pts hardcoded. RTCP send every 0.5 seconds */
rtcp_bytes = ((s->octet_count - s->last_octet_count) * RTCP_TX_RATIO_NUM) /
RTCP_TX_RATIO_DEN;
- if (s->first_packet || rtcp_bytes >= 28) {
+ if (s->first_packet || rtcp_bytes >= RTCP_SR_SIZE) {
rtcp_send_sr(s1, av_gettime());
s->last_octet_count = s->octet_count;
s->first_packet = 0;