[Bf-committers] possible bug in hamx.c

Kent Mein bf-committers@blender.org
Thu, 19 Dec 2002 15:39:35 -0600


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