shithub: rtmp

ref: adf3227845db11bde5f89abc0ca54864c4f8747d
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);