shithub: mcfs

ref: 6d2552a35e42a7fb6397b361a0ffa3a330711731
dir: /aac.c/

View raw version
#include <u.h>
#include <libc.h>
#include <bio.h>
#include "common.h"

int
aacpacket(Biobuf *out, Packetctx *ctx, Packet *p, int np, uvlong ts)
{
	int i;

	USED(ctx); USED(ts);
	for(i = 0; i < np; i++, p++)
		Bwrite(out, p->data, p->sz);

	return 0;
}