[Mplayer-cvslog] CVS: main/libmpdemux stheader.h,1.20,1.21

Arpi of Ize arpi at mplayer.dev.hu
Fri Dec 21 17:17:34 CET 2001


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv9959

Modified Files:
	stheader.h 
Log Message:
void* context added - it should keep the codec-specific stuff (struct ptr or HANDLE)

Index: stheader.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stheader.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- stheader.h	30 Oct 2001 20:36:20 -0000	1.20
+++ stheader.h	21 Dec 2001 16:17:24 -0000	1.21
@@ -34,11 +34,12 @@
   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 @@
   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;
 




More information about the MPlayer-cvslog mailing list