[x264-devel] x264 version 104 crash

Jason Garrett-Glaser darkshikari at gmail.com
Thu Jul 15 16:18:26 CEST 2010


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


More information about the x264-devel mailing list