Re: avilib bug causes avifix segfault in transcode 1.04

Francesco Romani <[email protected]>
Newsgroups gmane.comp.video.transcode.devel
Message-ID <[email protected]>
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. ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.