[XviD-devel] bug: missing RESYNC detection in b-frames
skal
skal at planet-d.net
Wed Nov 12 09:45:03 CET 2003
howdy,
from the forum:
http://www.xvid.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=1612
it seems resync detection is missing in decoder_bframe().
I propose adding the following at the beginning of the loop,
please cross-check:
-----------------------------------
const int fcode_max = (fcode_forward>fcode_backward) ? fcode_forward : fcode_backward;
if (check_resync_marker(bs, fcode_max - 1)) {
bound = read_video_packet_header(bs, dec, fcode_max - 1,
&quant, &fcode_forward, &fcode_backward, &intra_dc_threshold);
x = bound % mb_width;
y = bound / mb_width;
}
-------------------------------
bye!
Skal
More information about the XviD-devel
mailing list