[x264-devel] Multislicing support
Mathieu Monnier
manao at melix.net
Sat Apr 26 06:38:17 CEST 2008
Hi,
> I found the bug causing the strange behaviour described in these last
> two items, and the responsible is the function /x264_realloc/. I
> remember someone telling me the function was buggy, but I thought it had
> been corrected since then. I'm afraid I can't help with that, as I
> barely understand how the function works. There is just one thing I'd
> like to know : how come the function doesn't call /realloc/, as the file
> malloc.h is obviously present on my computer? Isn't the variable
> HAVE_MALLOC_H defined on any system having the malloc helper file? This
> is more a basic C question, but if anybody has an answer it would help
> me having an even greater week-end. :-)
You really have a problem with your mailer, I already answered that
question two months ago, in reply to one of your post :
> x264_realloc is buggy, fixing it would fix the issue :
>
> - i_old_size = *( (int*) ( (uint8_t*) p ) - sizeof( void ** ) -
> - sizeof( int ) );
> + i_old_size = *( (int*) ( (uint8_t*) p - sizeof( void ** ) -
> + sizeof( int ) ) );
Regards,
Mathieu
More information about the x264-devel
mailing list