~ft/hj264

70b1cf8ab9292b471f6414b17895f583bc61ccfc — Sigrid Solveig Haflínudóttir 3 months ago ebae65d hj
give up on weird shit
1 files changed, 2 insertions(+), 16 deletions(-)

M hj264.c
M hj264.c => hj264.c +2 -16
@@ 223,17 223,6 @@ hj264close(Hj264 *h)
	Bflush(&h->out);
}

static int
done(void*, char*)
{
	Hj264 *h;

	h = *procdata();
	Bflush(&h->out);

	return 1;
}

static void
encthread(void *p)
{


@@ 243,13 232,10 @@ encthread(void *p)
	Hj264 *h;
	int sz;

	h = p;
	prev = nil;

	*procdata() = h;
	threadsetname("hj264/encthread");
	threadnotify(done, 1);

	h = p;
	prev = nil;
	for(;;){
		if(recv(h->frame, &img) < 0)
			break;