On Thu, 2007-11-08 at 20:37 +0100, Kees Bakker wrote: > Op donderdag 08 november 2007, schreef Francesco Romani: > > On Nov 8, 2007 3:03 PM, Vadim Druzhin <[EMAIL PROTECTED]> wrote: > > > > > cmdline: avifix -f 25,1 -i out.avi > > > causes segfault on large avi file (out.avi is 4197853758 bytes). > > > > > > I'd like to let you know that you've just enlightened me. Kudos. > > Why not use calloc instead of malloc+memset?
In this case, for code consistency[1] at less. +++ [1] even if avilib is already a big mess[2]. [2] rhyme not intentional. =) Bests, -- Francesco Romani // Ikitt [ Out of memory. ~ We wish to hold the whole sky, ~ But we never will. ]