mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1020379 - [RTSP] Fix trivial compile warnings. r=sworkman
This commit is contained in:
parent
df66611f95
commit
395bed4bb7
@ -278,7 +278,7 @@ void ARTPConnection::onPollStreams() {
|
||||
moz_xcalloc(pollCount, sizeof(PRPollDesc));
|
||||
|
||||
// |pollIndex| is used to map different RTP & RTCP socket pairs.
|
||||
int numSocketsToPoll = 0, pollIndex = 0;
|
||||
uint32_t numSocketsToPoll = 0, pollIndex = 0;
|
||||
for (List<StreamInfo>::iterator it = mStreams.begin();
|
||||
it != mStreams.end(); ++it, pollIndex += 2) {
|
||||
if (pollIndex >= pollCount) {
|
||||
|
@ -56,10 +56,10 @@ ARTSPConnection::ARTSPConnection(bool uidValid, uid_t uid)
|
||||
mUID(uid),
|
||||
mState(DISCONNECTED),
|
||||
mAuthType(NONE),
|
||||
mSocket(nullptr),
|
||||
mConnectionID(0),
|
||||
mNextCSeq(0),
|
||||
mReceiveResponseEventPending(false),
|
||||
mSocket(nullptr),
|
||||
mNumSocketPollTimeoutRetries(0) {
|
||||
MakeUserAgent(&mUserAgent);
|
||||
}
|
||||
|
@ -41,10 +41,6 @@
|
||||
#include "prnetdb.h"
|
||||
|
||||
extern PRLogModuleInfo* gRtspLog;
|
||||
#define LOGI(msg, ...) PR_LOG(gRtspLog, PR_LOG_ALWAYS, ("RTSP" msg, ##__VA_ARGS__))
|
||||
#define LOGV(msg, ...) PR_LOG(gRtspLog, PR_LOG_DEBUG, (msg, ##__VA_ARGS__))
|
||||
#define LOGE(msg, ...) PR_LOG(gRtspLog, PR_LOG_ERROR, (msg, ##__VA_ARGS__))
|
||||
#define LOGW(msg, ...) PR_LOG(gRtspLog, PR_LOG_WARNING, (msg, ##__VA_ARGS__))
|
||||
|
||||
// If no access units are received within 2 secs, assume that the rtp
|
||||
// stream has ended and signal end of stream.
|
||||
|
Loading…
Reference in New Issue
Block a user