shithub: rtmp

ref: 8aaeeb16fab9270b49c9f5c2329e135cad5f9a34
dir: /adts.h/

View raw version
typedef struct ADTSFrame ADTSFrame;

struct ADTSFrame {
	uvlong ns;
	uvlong ns₀;
	u8int *buf;
	int bufsz;
	int sz;
};

int adtsread(Biobuf *b, ADTSFrame *f);