[Xine-vdpau] VC1
Christophe Thommeret
hftom at free.fr
Mon Sep 28 16:02:28 CEST 2009
Le Sunday 27 September 2009 22:20:35 Jose Alberto Reguero, vous avez écrit :
> @@ -438,6 +439,7 @@
> }
> if ( info->picture_type == B_FRAME ) {
> tmp = read_bits( &sequence->br, 3 );
> + p->offbits -= 3;
> if ( tmp==7 ) {
> tmp = read_bits( &sequence->br, 7 );
> if ( tmp==127 )
Consider offbits as private, better do:
if ( info->picture_type == B_FRAME ) {
tmp = read_bits( &sequence->br, 3 );
if ( tmp==7 ) {
tmp = (tmp<<3) | read_bits( &sequence->br, 4 );
if ( tmp==127 )
info->picture_type = BI_FRAME;
}
}
Thanx for the report.
None of my vc1 samples triggered this bug :)
--
Christophe Thommeret
More information about the Xine-vdpau
mailing list