[rtmpdump] r517 - trunk/librtmp/rtmp.c
hyc
subversion at mplayerhq.hu
Fri Jun 25 22:28:42 CEST 2010
Author: hyc
Date: Fri Jun 25 22:28:41 2010
New Revision: 517
Log:
Fix bogus switch statement
Modified:
trunk/librtmp/rtmp.c
Modified: trunk/librtmp/rtmp.c
==============================================================================
--- trunk/librtmp/rtmp.c Thu Jun 24 21:20:52 2010 (r516)
+++ trunk/librtmp/rtmp.c Fri Jun 25 22:28:41 2010 (r517)
@@ -4151,7 +4151,7 @@ RTMP_Read(RTMP *r, char *buf, int size)
/* can't continue */
fail:
- switch (r->m_read.status < 0) {
+ switch (r->m_read.status) {
case RTMP_READ_EOF:
case RTMP_READ_COMPLETE:
return 0;
More information about the rtmpdump
mailing list