From e90b8df3f4bf1688d15db7766e2935ca3e2d2cbc Mon Sep 17 00:00:00 2001 From: Thulinma Date: Mon, 8 Nov 2010 20:30:51 +0100 Subject: [PATCH] Minder debugging --- Connector_RTMP/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Connector_RTMP/main.cpp b/Connector_RTMP/main.cpp index 7526143f..d18eb917 100644 --- a/Connector_RTMP/main.cpp +++ b/Connector_RTMP/main.cpp @@ -130,7 +130,7 @@ int main(int argc, char ** argv){ } retval = epoll_wait(poller, events, 1, 50); - if ((retval > 0) && (DDV_ready(ss))){ + if (DDV_ready(ss)){ if (FLV_GetPacket(tag, ss)){//able to read a full packet? ts = tag->data[7] * 256*256*256; ts += tag->data[4] * 256*256;