~ft/mcfs

5c91e882a725ff431be5abd6272e12b274307b72 — Sigrid Solveig Haflínudóttir 3 years ago 32cb1d0
ogg: remove useless branch
1 files changed, 1 insertions(+), 1 deletions(-)

M ogg.c
M ogg.c => ogg.c +1 -1
@@ 37,7 37,7 @@ packet(Biobuf *out, Packetctx *ctx, int htype, Packet *p, int np, uvlong granule
	h[25] = 0;

	for(ntot = ip = 0; ip < np; ip++){
		n = 1 + (p[ip].sz > 0 ? p[ip].sz/255 : 0);
		n = 1 + p[ip].sz/255;
		if(27+ntot+n >= nelem(h)){
			werrstr("frame is too large");
			return -1;