diff options
author | Christophe Thommeret <hftom@free.fr> | 2009-09-28 15:04:35 +0100 |
---|---|---|
committer | Christophe Thommeret <hftom@free.fr> | 2009-09-28 15:04:35 +0100 |
commit | eeabd4c12859a1e5b27d48fb6f26d269dd2150b0 (patch) | |
tree | e27c3c2e5ef504d01778a8c83784b0729b40209b | |
parent | 9c38df222650505b673d70c5eedf7b51fc9f0b19 (diff) | |
download | xine-lib-eeabd4c12859a1e5b27d48fb6f26d269dd2150b0.tar.gz xine-lib-eeabd4c12859a1e5b27d48fb6f26d269dd2150b0.tar.bz2 |
Fix consumed bits.
-rw-r--r-- | src/libvdpau/vdpau_vc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libvdpau/vdpau_vc1.c b/src/libvdpau/vdpau_vc1.c index f0bc974a4..2ffd9a2e2 100644 --- a/src/libvdpau/vdpau_vc1.c +++ b/src/libvdpau/vdpau_vc1.c @@ -440,7 +440,7 @@ static void picture_header( vdpau_vc1_decoder_t *this_gen, uint8_t *buf, int len if ( info->picture_type == B_FRAME ) { tmp = read_bits( &sequence->br, 3 ); if ( tmp==7 ) { - tmp = (tmp<<3) | read_bits( &sequence->br, 4 ); + tmp = (tmp<<4) | read_bits( &sequence->br, 4 ); if ( tmp==127 ) info->picture_type = BI_FRAME; } |