Mercurial > libavcodec.hg
comparison vorbis.c @ 3075:961af1358c7f libavcodec
add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>
author | mru |
---|---|
date | Mon, 30 Jan 2006 23:33:19 +0000 |
parents | 0b546eab515d |
children | 0995d7ddeb58 |
comparison
equal
deleted
inserted
replaced
3074:d89dcf01cae2 | 3075:961af1358c7f |
---|---|
44 /* Helper functions */ | 44 /* Helper functions */ |
45 | 45 |
46 /** | 46 /** |
47 * reads 0-32 bits when using the ALT_BITSTREAM_READER_LE bitstream reader | 47 * reads 0-32 bits when using the ALT_BITSTREAM_READER_LE bitstream reader |
48 */ | 48 */ |
49 unsigned int get_bits_long_le(GetBitContext *s, int n){ | 49 static unsigned int get_bits_long_le(GetBitContext *s, int n){ |
50 if(n<=17) return get_bits(s, n); | 50 if(n<=17) return get_bits(s, n); |
51 else{ | 51 else{ |
52 int ret= get_bits(s, 16); | 52 int ret= get_bits(s, 16); |
53 return ret | (get_bits(s, n-16) << 16); | 53 return ret | (get_bits(s, n-16) << 16); |
54 } | 54 } |