view spudec.h @ 3612:a1522fa7728a

x = malloc(strlen(s) + c) ... strcpy(x, s) replaced by x = strdup(s) Note: sometimes c was 0 and that was a bug Note2: code still has to be added to check the returned value of these funcs
author pl
date Wed, 19 Dec 2001 13:03:22 +0000
parents ce9acee4e129
children d358f4a74690
line wrap: on
line source

#include "config.h"
#ifdef USE_DVDREAD
#ifndef _MPLAYER_SPUDEC_H
#define _MPLAYER_SPUDEC_H

#include "stream.h"
void spudec_heartbeat(void *this, int pts100);
void spudec_assemble(void *this, unsigned char *packet, int len, int pts100);
void spudec_draw(void *this, void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
void *spudec_new(dvd_priv_t *dvd_info);
void spudec_free(void *this);

#endif
#endif