[x264-devel] x264 version 104 crash

191919 191919 at gmail.com
Thu Jul 15 16:54:22 CEST 2010


I just copied code of x264_picture_alloc and replaced the x264_malloc
line with mine. So all initialization codes are kept.

2010/7/15 Jason Garrett-Glaser <darkshikari at gmail.com>:
> On Thu, Jul 15, 2010 at 7:08 AM, 191919 <191919 at gmail.com> wrote:
>> Thanks for your reply. I took a look at commons/common.c in which
>> x264_picture_alloc is implemented. Yes you are right, I did
>> double-allocate the yuv buffer, but I don't think this is the cause of
>> the library crash.
>>
>> I have removed the redundant memory allocations (thank you!), the
>> result is same: my program crashed in x264_encoder_encode().
>>
>
> Did you forget to the set the colorspace and i_plane of your
> x264_picture_t?  picture_init doesn't do it for you.
>
> Dark Shikari
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel
>


More information about the x264-devel mailing list