[x264-devel] Re: bug in x264_cqm_init ?
Fejes Dávid
fejesd at gmail.com
Fri May 4 22:33:42 CEST 2007
I've found the reason of the error, it was a HW bug, not SW. I'm very
sorry for wasting your time and thank you for the answer.
--
Dávid
E-mail: fejesd at gmail dot com
MSN: f.d at freemail.hu
Skype: skype://fejesdavid
On 5/3/07, Loren Merritt <lorenm at u.washington.edu> wrote:
> On Thu, 3 May 2007, Fejes Dávid wrote:
>
> > Memory is never allocated for h->dequant8_mf, h->quant8_mf and
> > h->unquant8_mf.
> >
> > x264_cqm_init (in common/set.c) will upload this matrices with data,
> > but it doesn't allocates any memory before that for these pointers. In
> > my build it causes general protection fault (or simply it mess up
> > another variables). If I paste the corresponding x264_memalloc
> > function calls onto the beginning of the x264_cqm_init, it goes well.
> >
> > If I'm wrong, please let me know it. I've downloaded x264 at
> > 22.07.2007 from the trunk, excuse me if you have corrected this.
>
> Does this patch give an assert failure?
> If so, I'll have to rethink my assumptions about compilers. Though I don't
> see how to fix it without adding code complexity.
> If not, I can't see how else it would break.
>
> --Loren Merritt
>
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list