shithub: rtmp

Download patch

ref: 489f4a7962adf0243e6a1f81a97b564823970b80
parent: 6f648fdb5b6ec6debecd45d316663438ec8f1234
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu Aug 5 04:56:38 EDT 2021

fix misleading error message

--- a/main.c
+++ b/main.c
@@ -64,7 +64,7 @@
 			break;
 		ns = ivfns(&ivf, f.ts)/1000000ULL;
 		if(rtmpdata(r, sid, ns, Tvideo, f.buf, f.sz) != 0)
-			sysfatal("video: flvdata: %r");
+			sysfatal("%r");
 	}
 
 	threadexitsall(nil);