Menu

#1 Luminance Deblocking Filter causes system crash

open
nobody
None
5
2004-03-04
2004-03-04
Anonymous
No

there is a bug in your luminance deblocking filter routine
that leads to a system crash with some video material !!
Environment was: Windows 98 se; XVid 1.0.0rc2 (!didnt
test on latest rc3). the source in 1.0.0rc3 for
postprocessing.c is the same; so 1.0.0rc3 should be the
same.

when deactivating the y-deblocking filter everything
worked fine.
took me some time to track down the routine (macro)
that made the final trouble; may be i can give you a hint
about the problem:

APPLY_FILTER_CORE (postprocess.c)
the routine contains a lot of accesses to the arrays
xvid_thresh_tbl[] and xvid_abs_tbl[].
i added a modulo 510 to all array-indizes. recompiling
showed that the dll after that just worked fine. (no
crashed anymore)
so eventually a index-overflow causes the problem.

hope this helps. please give a short comment on the
subject to wizzax@gmx.de

thanxx !!!

Discussion


Log in to post a comment.

MongoDB Logo MongoDB