diff options
author | Christophe Thommeret <hftom@free.fr> | 2009-08-09 01:10:20 +0100 |
---|---|---|
committer | Christophe Thommeret <hftom@free.fr> | 2009-08-09 01:10:20 +0100 |
commit | 3c777cd744227ad68813ffe7091d2ea413ecf602 (patch) | |
tree | 8165af303d94ba1e0ebadc0649443fc2aca6b005 /src | |
parent | 4a3ea58e686bfc2bbeeca059a946253798d4d17e (diff) | |
download | xine-lib-3c777cd744227ad68813ffe7091d2ea413ecf602.tar.gz xine-lib-3c777cd744227ad68813ffe7091d2ea413ecf602.tar.bz2 |
Cleanup.
Diffstat (limited to 'src')
-rw-r--r-- | src/libvdpau/vdpau_vc1.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/libvdpau/vdpau_vc1.c b/src/libvdpau/vdpau_vc1.c index 2ccc7e6b9..9e17c605a 100644 --- a/src/libvdpau/vdpau_vc1.c +++ b/src/libvdpau/vdpau_vc1.c @@ -215,27 +215,6 @@ static void init_sequence( sequence_t *sequence ) -/*static uint32_t get_bits( uint8_t *b, int offbits, int nbits ) -{ - int i, nbytes; - uint32_t ret = 0; - uint8_t *buf; - - buf = b+(offbits/8); - offbits %=8; - nbytes = (offbits+nbits)/8; - if ( ((offbits+nbits)%8)>0 ) - nbytes++; - for ( i=0; i<nbytes; i++ ) - ret += buf[i]<<((nbytes-i-1)*8); - i = (4-nbytes)*8+offbits; - ret = ((ret<<i)>>i)>>((nbytes*8)-nbits-offbits); - - return ret; -}*/ - - - static void update_metadata( vdpau_vc1_decoder_t *this_gen ) { sequence_t *sequence = (sequence_t*)&this_gen->sequence; |