summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libvdpau/vdpau_vc1.c21
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;