shithub: rtmp

Download patch

ref: 89e5bd16ebd6946456bc737a2c0b2796f125a5a7
parent: 996f6e5c036260a18fd4c46405027ef4a23a7923
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Thu Jul 29 09:19:25 EDT 2021

forgot another eof

--- a/rtmp.c
+++ b/rtmp.c
@@ -269,7 +269,7 @@
 		if(len < 1)
 			break;
 		if(readn(r->i, h, 1) != 1)
-			goto err;
+			goto eof;
 		if((r->msg.cs | Type3<<6) != *h){
 			werrstr("cs/fmt does not match: %02x", *h);
 			goto err;