Mercurial > mplayer.hg
view vobsub.h @ 6225:75e8e1cf1f77
- hardened a bit the new bilinear algo (missing checks)
- warning fix (include, int -> void)
- avoids messing with 0 byte allocation (result not reliable)
(Fredrik Kuivinen <freku045@student.liu.se> noticed it)
author | pl |
---|---|
date | Wed, 29 May 2002 19:27:06 +0000 |
parents | 7bea806b9c5f |
children | f8551f89dd48 |
line wrap: on
line source
#ifndef MPLAYER_VOBSUB_H #define MPLAYER_VOBSUB_H extern void *vobsub_open(const char *subname, const char *const ifo, const int force, void** spu); extern void vobsub_reset(void *vob); extern int vobsub_parse_ifo(void* this, const char *const name, unsigned int *palette, unsigned int *width, unsigned int *height, int force); extern int vobsub_get_packet(void *vobhandle, float pts,void** data, int* timestamp); extern void vobsub_close(void *this); #endif /* MPLAYER_VOBSUB_H */