[FFmpeg-devel] utils.c patch to avoid divide by zero

Michael Niedermayer michaelni
Wed Aug 26 13:19:12 CEST 2009


On Wed, Aug 26, 2009 at 07:49:33AM +0200, Diego Biurrun wrote:
> On Tue, Aug 25, 2009 at 10:11:45PM -0700, Frank Barchard wrote:
> > On Tue, Aug 25, 2009 at 9:04 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > >
> > > On Tue, Aug 25, 2009 at 06:20:47PM -0700, Frank Barchard wrote:
> > > > This patch avoids a divide by zero crash. ?It follows the same convention as
> > > > a similar check a few lines above.
> > >
> > > your patch is mangled
> > 
> > To get the diff I used
> > svn diff libavformat/utils.c
> 
> The problem is that you are sending your patch inline instead of
> attached.

combined with line wraping ...
otherwise inline should work as well though attachments are always safer

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090826/cd026dd4/attachment.pgp>



More information about the ffmpeg-devel mailing list