[x264-devel] bug in x264_realloc(common/common.c)

Ning Xin nxin2000 at gmail.com
Wed Dec 12 09:13:47 CET 2007


Hi,

There is a bug in x264_realloc. Patch is here:

792,793c792,793
<         i_old_size = *( (int*) ( (uint8_t*) p ) - sizeof( void ** ) -
<                          sizeof( int ) );
---
>         i_old_size = *( (int*) ( (uint8_t*) p - sizeof( void ** ) -
>                          sizeof( int ) ) );



More information about the x264-devel mailing list