[rtmpdump] branch master updated. c58cfb3 Add RD_NO_CONNECT return code for Connect failures
gitolite
gil at avcodec.org
Fri Aug 12 03:02:42 CEST 2011
The branch, master has been updated
via c58cfb3e9208c6e6bc1aa18f1b1d650d799084e5 (commit)
from a1114e09bf0d74ef1d575eb88f3aa36bc7c6d790 (commit)
- Log -----------------------------------------------------------------
commit c58cfb3e9208c6e6bc1aa18f1b1d650d799084e5
Author: Howard Chu <hyc at highlandsun.com>
AuthorDate: Thu Aug 11 18:02:10 2011 -0700
Commit: Howard Chu <hyc at highlandsun.com>
CommitDate: Thu Aug 11 18:02:10 2011 -0700
Add RD_NO_CONNECT return code for Connect failures
diff --git a/rtmpdump.c b/rtmpdump.c
index e506fa9..01decf9 100644
--- a/rtmpdump.c
+++ b/rtmpdump.c
@@ -46,6 +46,7 @@
#define RD_SUCCESS 0
#define RD_FAILED 1
#define RD_INCOMPLETE 2
+#define RD_NO_CONNECT 3
#define DEF_TIMEOUT 30 /* seconds */
#define DEF_BUFTIME (10 * 60 * 60 * 1000) /* 10 hours default */
@@ -1253,7 +1254,7 @@ main(int argc, char **argv)
if (!RTMP_Connect(&rtmp, NULL))
{
- nStatus = RD_FAILED;
+ nStatus = RD_NO_CONNECT;
break;
}
-----------------------------------------------------------------------
Summary of changes:
rtmpdump.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
hooks/post-receive
--
More information about the rtmpdump
mailing list