#ifndef _PLAYIT_H #define _PLAYIT_H #define PLAYIT_FLAG_SEEKABLE 1 typedef struct playit_t playit_t; playit_t * playit_open_file(const char *file, unsigned flags); unsigned playit_seek(playit_t *playit, unsigned frame); int playit_update(playit_t *playit, void *buf, int len, unsigned *res_frame); void playit_destroy(playit_t *playit); #endif