[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/rtmp r9622: minor cleanup
From: |
rob |
Subject: |
[Gnash-commit] /srv/bzr/gnash/rtmp r9622: minor cleanup |
Date: |
Wed, 03 Sep 2008 14:46:15 -0600 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9622
committer: address@hidden
branch nick: rtmp
timestamp: Wed 2008-09-03 14:46:15 -0600
message:
minor cleanup
modified:
libnet/rtmp_server.cpp
testsuite/libcore.all/AsValue.cpp
testsuite/libnet.all/test_rtmp.cpp
=== modified file 'libnet/rtmp_server.cpp'
--- a/libnet/rtmp_server.cpp 2008-08-28 04:58:54 +0000
+++ b/libnet/rtmp_server.cpp 2008-09-03 20:46:15 +0000
@@ -636,7 +636,6 @@
ptr += sizeof(boost::uint16_t); // go past the first short
boost::uint32_t swapped = 0;
-// swapBytes(&typefield, sizeof(boost::uint16_t));
buf->copy(typefield);
switch (type) {
// These two don't appear to have any paramaters
=== modified file 'testsuite/libcore.all/AsValue.cpp'
--- a/testsuite/libcore.all/AsValue.cpp 2008-09-03 20:29:11 +0000
+++ b/testsuite/libcore.all/AsValue.cpp 2008-09-03 20:46:15 +0000
@@ -232,7 +232,6 @@
}
}
}
-
}
static void
=== modified file 'testsuite/libnet.all/test_rtmp.cpp'
--- a/testsuite/libnet.all/test_rtmp.cpp 2008-08-28 04:58:04 +0000
+++ b/testsuite/libnet.all/test_rtmp.cpp 2008-09-03 20:46:15 +0000
@@ -250,6 +250,7 @@
}
#endif
client[4].clear();
+ queues1->clear();
// delete queues1;
Buffer *buf2 = hex2mem("02 00 00 00 00 00 04 01 00 00 00 00 00 00 00 80 02
00 00 00 00 00 06 04 00 00 00 00 00 04 00 00 00 01 04 00 00 00 00 00 b8 14 01
00 00 00 02 00 08 6f 6e 53 74 61 74 75 73 00 00 00 00 00 00 00 00 00 05 03 00
05 6c 65 76 65 6c 02 00 06 73 74 61 74 75 73 00 04 63 6f 64 65 02 00 14 4e 65
74 53 74 72 65 61 6d 2e 50 6c 61 79 2e 52 65 73 65 74 00 0b 64 65 73 63 72 69
70 74 69 6f 6e 02 00 2d 50 6c 61 79 69 6e 67 20 61 6e 64 20 72 65 73 65 74 74
69 6e 67 20 67 61 74 65 30 36 5f 74 61 62 6c 61 6e 5f 62 63 75 65 75 5f 30 31
2e 02 00 00 00 00 00 06 04 00 00 00 00 00 00 00 00 00 01 c4 00 07 64 65 74 61
69 6c 73 02 00 16 67 61 74 65 30 36 5f 74 61 62 6c 61 6e 5f 62 63 75 65 75 5f
30 31 00 08 63 6c 69 65 6e 74 69 64 00 41 d8 fb 78 56 00 00 00 00 00 09");
@@ -678,8 +679,8 @@
runtest.fail("Encoded RTMP result(NC_CONNECT_SUCCESS)");
}
delete buf2;
+#endif
delete hex2;
-#endif
Buffer *hex3 = hex2mem("02 00 07 5f 72 65 73 75 6c 74 00 3f f0 00 00 00 00
00 00 05 03 00 0b 61 70 70 6c 69 63 61 74 69 6f 6e 05 00 05 6c 65 76 65 6c 02
00 05 65 72 72 6f 72 00 0b 64 65 73 63 72 69 70 74 69 6f 6e 02 00 00 00 04 63
6f 64 65 02 00 1c 4e 65 74 43 6f 6e 6e 65 63 74 69 6f 6e 2e 43 6f 6e 6e 65 63
74 2e 46 61 69 6c 65 64 00 00 09");
RTMPMsg *msg2 = rtmp.decodeMsgBody(hex3);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/rtmp r9622: minor cleanup,
rob <=