shithub: rtmp

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