[x264-devel] bug in x264_realloc

Ning Xin nxin2000 at gmail.com
Fri Dec 14 05:51:20 CET 2007


Hi,

There is a bug in x264_realloc(common/common.c). 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