Revert a change in xdelta3.c done in r2683.

git-svn-id: https://svn.eduke32.com/eduke32@2732 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-06-03 19:20:29 +00:00
parent 56114a608d
commit 1404174584

View file

@ -2654,13 +2654,10 @@ xd3_set_source (xd3_stream *stream,
* calculations are cheap. */
if (!xd3_check_pow2 (src->blksize, &shiftby) == 0)
{
#if XD3_DEBUG
int check;
src->blksize = xd3_pow2_roundup(src->blksize);
check = xd3_check_pow2 (src->blksize, &shiftby);
XD3_ASSERT (check == 0);
#else
xd3_check_pow2 (src->blksize, &shiftby);
#endif
IF_DEBUG1 (DP(RINT "raising srcblksz to %u\n", src->blksize));
}