Mercurial > mplayer.hg
changeset 14967:d901658f487d
export getbits() as mp_getbits()
author | nicodvb |
---|---|
date | Sun, 20 Mar 2005 14:16:21 +0000 |
parents | 1f0e524bc5b7 |
children | b5fb8b0b07c5 |
files | libmpdemux/mpeg_hdr.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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) {