Hi Alexander,

try to use "av_malloc()" to allocate memory for picture buffer instead of
"malloc()", this makes an extra alignment on buffer sizes.

Greetz

2009/11/13 Alexander Bokovikov <[email protected]>

> Hi, All,
>
> Steve Anderson" <[email protected]> wrote:
>
>  I've got a similar problem !
>>
>
> It looks like I've found a reason. It is in this line:
>
> void dsputil_init(DSPContext *c, AVCodecContext *avctx)
> {
> ..............
>   if (HAVE_MMX)        dsputil_init_mmx   (c, avctx);
> ............
> }
>
> Commenting this line fixes the problem.
>
> I can't tell it more exactly where AV occurs, it raises somewhere in
> get_pixels_mmx() when it is called. It's MMX assembler procedure, so my
> Delphi 7's debugger freezes on it :(
>
> Is there any person out there, who could debug this procedure?
>
> Best regards,
> Alex
>
>
> ----- Original Message ----- From: "Alexander Bokovikov" <
> [email protected]>
> To: "Libav* user questions and discussions" <[email protected]>
> Sent: Wednesday, November 11, 2009 2:57 PM
> Subject: Re: [libav-user] libavcodec - Memory allocation problem in DLL
>
>
>
>  Hi, All,
>>
>> Steve Anderson" <[email protected]> wrote:
>>
>>  I've got a similar problem !
>>>
>>
>> And what should I do now?
>> Is it a case for bugreport posting or should I write to another mailing
>> list?
>>
>> Best regards,
>> Alex
>> _______________________________________________
>> libav-user mailing list
>> [email protected]
>> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>>
>
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to