shithub: treason

ref: 3f03592d6961c9f33b681b3269803739766b0c4b
dir: /stream_mp4.c/

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

static Stream *
mp4open(char *filename, int *num, int *failed)
{
	USED(filename); USED(num); USED(failed);
	return nil;
}

static void
mp4close(Stream *s)
{
	free(s);
}

static int
mp4read(Stream *s, Streamframe *f)
{
	USED(s); USED(f);
	return -1;
}

static vlong
mp4offset(Stream *s)
{
	USED(s);
	return -1;
}

Streamops mp4ops = {
	.open = mp4open,
	.close = mp4close,
	.read = mp4read,
	.offset = mp4offset,
};