[XviD-devel] If the framerate is 2 ?
suxen_drol
suxen_drol at hotmail.com
Mon May 5 21:20:27 CEST 2003
On Sun, 27 Apr 2003 21:5:36 +0800 "jz" <jz at kinghoo.net> wrote:
> I meet a lot problem if the frame rate is 2 or 3 when codec.
> like "Integer division by zero" in "mbprediction.c"
> "
> } else {
> *acpred_direction = 2; /* horizontal */
> predictors[0] = (int16_t)(DIV_DIV(pLeft[0], iDcScaler)); //the iDcScaler is 0.
> for (i = 1; i < 8; i++) {
> predictors[i] = rescale(left_quant, current_quant, pLeft[i + 7]);
> }
> }
> "
>
> But there is no such problem when framerate > 10.
> And I meet some exception like "Access violation reading location 0xb95f3f50."
>
> Is it my fault or something else? How can i avoid it? I need help..oh..
>
> The codec is v0.9.1 and compiler is Vc v13.10.2292
thats bizzare. hmm, framerate should affect this at all, and
iDcScaler should *never* be zero.
-- pete
More information about the XviD-devel
mailing list