# HG changeset patch # User nicodvb # Date 1111328181 0 # Node ID d901658f487dee7a86d909d86086d67e777188dc # Parent 1f0e524bc5b7a8258753349089fdb24cc6a48323 export getbits() as mp_getbits() diff -r 1f0e524bc5b7 -r d901658f487d libmpdemux/mpeg_hdr.c --- a/libmpdemux/mpeg_hdr.c Sun Mar 20 12:26:14 2005 +0000 +++ b/libmpdemux/mpeg_hdr.c Sun Mar 20 14:16:21 2005 +0000 @@ -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) {