[XviD-devel] Different length reading sprite-trajectory

Christoph Lampert chl at math.uni-bonn.de
Wed Aug 6 22:45:06 CEST 2003


Hi,

there is a mismatch between FFmpeg and XviD when decoding length of
sprite_trajectory.

>From the bitstream 

fe ef d2 c3

XviD reads (and writes):  length=9 x=-272  
in mbcoding.c (bs_get_spritetrajectory())

whereas ffmpeg reads   :  length=10 x=959   (using get_vlc())
in h263.c (mpeg4_decode_sprite_trajectory())

Can some guru check which is correct? The standard says
just that it's unsigned integer, most significant bit first. 

gruel




More information about the XviD-devel mailing list