#ifdef _MSC_VER
/* warning C4706: assignment within conditional expression*/
#pragma warning(disable: 4706)
+/* warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details. */
+#pragma warning(disable:4996)
#endif
#define least1(_z) (_z ? _z : 1)
if (!found && i->samples_per_packet) {
- int y;
+ uint32_t y;
stfu_frame_t *frame = NULL;
int32_t delay = i->last_rd_ts - i->cur_ts;
int stfu_vasprintf(char **ret, const char *fmt, va_list ap);
-STFU_DECLARE_DATA extern stfu_logger_t stfu_log;
+extern stfu_logger_t stfu_log;
/*! Sets the logger for libstfu. Default is the null_logger */
void stfu_global_set_logger(stfu_logger_t logger);
flushed++;
+#ifdef _MSC_VER
+#pragma warning(push) /* remove this stuff when "if (0" is removed */
+#pragma warning(disable:4127)
+#endif
if (0 && rtp_session->jb) {
stfu_n_eat(rtp_session->jb, ntohl(rtp_session->recv_msg.header.ts),
rtp_session->recv_msg.header.pt,
rtp_session->recv_msg.body, bytes - rtp_header_len);
}
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif
rtp_session->stats.inbound.raw_bytes += bytes;
rtp_session->stats.inbound.flush_packet_count++;