summaryrefslogtreecommitdiffstats
path: root/libmpdemux/stheader.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-21 16:17:24 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-21 16:17:24 +0000
commit2741174c2cbc122e5791549f10e84aedaea3a69b (patch)
tree10354afb43299b2af590e373a003333f8b7fd9d0 /libmpdemux/stheader.h
parent57befe55fbd10e97e3ebf8d7a51bf8591958824a (diff)
downloadmpv-2741174c2cbc122e5791549f10e84aedaea3a69b.tar.bz2
mpv-2741174c2cbc122e5791549f10e84aedaea3a69b.tar.xz
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
Diffstat (limited to 'libmpdemux/stheader.h')
-rw-r--r--libmpdemux/stheader.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h
index 400c6e7539..c727492987 100644
--- a/libmpdemux/stheader.h
+++ b/libmpdemux/stheader.h
@@ -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;