1
mirror of https://github.com/mpv-player/mpv synced 2025-01-16 22:37:28 +01:00

void* context added - it should keep the codec-specific stuff (struct ptr or HANDLE)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3643 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-12-21 16:17:24 +00:00
parent 57befe55fb
commit 2741174c2c

View File

@ -34,11 +34,12 @@ typedef struct {
int audio_in_minsize;
int audio_out_minsize;
// other codecs:
void* context; // codec-specific stuff (usually HANDLE or struct pointer)
// ac3_frame_t *ac3_frame;
void* ac3_frame;
void* ac3_frame; // TODO: use *context
int pcm_bswap;
#ifdef HAVE_OGGVORBIS
struct ov_struct_st *ov; // should be assigned on init
struct ov_struct_st *ov; // should be assigned on init TODO: use *context
#endif
} sh_audio_t;
@ -65,6 +66,7 @@ typedef struct {
AVIStreamHeader video;
BITMAPINFOHEADER *bih; // in format
BITMAPINFOHEADER o_bih; // out format
void* context; // codec-specific stuff (usually HANDLE or struct pointer)
HIC hic; // handle
} sh_video_t;