[rtmpdump] r244 - trunk/hashswf.c

hyc subversion at mplayerhq.hu
Fri Feb 5 05:45:23 CET 2010


Author: hyc
Date: Fri Feb  5 05:45:22 2010
New Revision: 244

Log:
Fix r239, there are 4 fields per record now

Modified:
   trunk/hashswf.c

Modified: trunk/hashswf.c
==============================================================================
--- trunk/hashswf.c	Sat Jan 30 04:59:32 2010	(r243)
+++ trunk/hashswf.c	Fri Feb  5 05:45:22 2010	(r244)
@@ -389,7 +389,7 @@ RTMP_HashSWF(const char *url, unsigned i
           if (strncmp(r1, file, i))
             continue;
           pos = ftell(f);
-          while (got < 3 && fgets(buf, sizeof(buf), f))
+          while (got < 4 && fgets(buf, sizeof(buf), f))
             {
               if (!strncmp(buf, "size: ", 6))
                 {


More information about the rtmpdump mailing list