From 7b357c291164802852a71ff7bba34a3d2c891ab5 Mon Sep 17 00:00:00 2001 From: hyc Date: Fri, 5 Feb 2010 04:45:22 +0000 Subject: [PATCH] Fix r239, there are 4 fields per record now git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@244 400ebc74-4327-4243-bc38-086b20814532 --- hashswf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hashswf.c b/hashswf.c index 5fe260a..8ce8cc5 100644 --- a/hashswf.c +++ b/hashswf.c @@ -389,7 +389,7 @@ RTMP_HashSWF(const char *url, unsigned int *size, unsigned char *hash, int age) 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)) { -- 2.40.0