[x264-devel] [PATCH] Fix free of invalid pointer for tune tmp value.

Måns Rullgård mans at mansr.com
Fri Jun 11 11:57:19 CEST 2010


Jason Garrett-Glaser <darkshikari at gmail.com> writes:

> On Thu, Jun 10, 2010 at 7:13 PM, Evan McClain <evan.mcclain at gatech.edu> wrote:
>> The attached x264_tune_film.txt gdb backtrace recently started happening
>> on my OpenSUSE facotry workstation with --tune film. The rather trivial
>> attached patch fixes the issue for me.
>>
>> It's probably related to some relatively recent glibc or gcc change
>> (bug?), but I don't follow the changes too closely.
>
> I'm pretty sure char is always 8 bits.

POSIX requires 8-bit char, but not C.  However, sizeof(char) is 1 by
definition.

-- 
Måns Rullgård
mans at mansr.com


More information about the x264-devel mailing list