[Bf-committers] possible bug in hamx.c

Ton Roosendaal bf-committers@blender.org
Thu, 19 Dec 2002 22:57:11 +0100


Hi,

Dropping hamx support is not a problem at all, it's ancient Amiga  
derived code, from the late eighties, early nineties. Don't worry about  
it, should be removed at some stage.

-Ton-


On Thursday, Dec 19, 2002, at 22:44 Europe/Amsterdam, Maarten Gribnau  
wrote:

> I hope Frank is reading this and stepping in.
> Maybe this function is only called for ibuf->ftype==AN_hamx but I  
> agree it is ugly.
> Maarten
>
> On Thursday, Dec 19, 2002, at 22:39 Europe/Amsterdam, Kent Mein wrote:
>
>> I found a possible bug in blender/source/blender/imbuf/intern/hamx.c
>>
>> If you jump down th the imb_enc_anim function
>> look the the var steps.
>>
>> It should probably be initalized to something,
>> or move steps =2 from the case statment to avoid a divide by 0 problem
>>
>> Or dump the size =
>> and malloc stuff inside of the case statement as well.
>>
>> I don't know enough about the code to make a judgement call, my
>> best guess would be the later move it to the case statement
>> and initalize steps to 0?
>>
>> Kent
>> --  
>> mein@cs.umn.edu
>> http://www.cs.umn.edu/~mein
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers@blender.org
>> http://www.blender.org/mailman/listinfo/bf-committers
>>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
>
>
------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton@blender.org