view roqav.h @ 5138:fce3b54250b1

Fixed the bug that make mplayer crash with no sound and an invalid video codec
author albeu
date Sat, 16 Mar 2002 17:10:15 +0000
parents 026329111b09
children
line wrap: on
line source

#ifndef ROQAV_H
#define ROQAV_H

void *roq_decode_video_init(void);
void roq_decode_video(void *context, unsigned char *encoded, 
  int encoded_size, mp_image_t *mpi);

void *roq_decode_audio_init(void);
int roq_decode_audio(unsigned short *output, unsigned char *input,
  int encoded_size, int channels, void *context);

#endif // ROQAV_H