[MPlayer-cvslog] CVS: main/libmpdemux mpeg_hdr.c,1.9,1.10

Nico Sabbi CVS syncmail at mplayerhq.hu
Sun Mar 20 15:16:24 CET 2005


CVS change done by Nico Sabbi CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv24616

Modified Files:
	mpeg_hdr.c 
Log Message:
export getbits() as mp_getbits()

Index: mpeg_hdr.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/mpeg_hdr.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- mpeg_hdr.c	1 Mar 2005 23:45:32 -0000	1.9
+++ mpeg_hdr.c	20 Mar 2005 14:16:21 -0000	1.10
@@ -104,7 +104,7 @@
 
 
 //MPEG4 HEADERS
-static unsigned char getbits(unsigned char *buffer, unsigned int from, unsigned char len)
+unsigned char mp_getbits(unsigned char *buffer, unsigned int from, unsigned char len)
 {
     unsigned int n;
     unsigned char m, u, l, y;
@@ -125,6 +125,8 @@
     return  y;
 }
 
+#define getbits mp_getbits
+
 static int read_timeinc(mp_mpeg_header_t * picture, unsigned char * buffer, int n)
 {
     if(picture->timeinc_bits > 8) {




More information about the MPlayer-cvslog mailing list