[Ffmpeg-cvslog] r5663 - in trunk: libavcodec/utils.c libavformat/voc.c
Michael Niedermayer
michaelni
Sat Jul 8 01:03:18 CEST 2006
Hi
On Sat, Jul 08, 2006 at 01:01:44AM +0200, Aurelien Jacobs wrote:
> On Sat, 8 Jul 2006 00:42:41 +0200
> Michael Niedermayer <michaelni at gmx.at> wrote:
>
> > Hi
> >
> > On Sat, Jul 08, 2006 at 12:42:36AM +0200, aurel wrote:
> > [...]
> > > + case CODEC_ID_ADPCM_CT:
> > > + case CODEC_ID_ADPCM_SBPRO_2:
> > > + case CODEC_ID_ADPCM_SBPRO_3:
> > > + case CODEC_ID_ADPCM_SBPRO_4:
> > > + return 0;
> > [...]
> > > - case CODEC_ID_ADPCM_CT:
> > > - return 4;
> > [...]
> > > - dec->bits_per_sample = voc_get_bps(dec->codec_id);
> > > + dec->bits_per_sample = av_get_bits_per_sample(dec->codec_id);
> >
> > interresting change ...
>
> Well, setting bits_per_sample to anything >0 and <8 generate a divide by zero
bug, feel free to fix ...
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is
More information about the ffmpeg-cvslog
mailing list