[FFmpeg-devel] [PATCH] bug fix for issue 581

Michael Niedermayer michaelni
Fri Aug 15 23:22:15 CEST 2008

On Fri, Aug 15, 2008 at 05:46:04PM +0200, Lars T?uber wrote:
> Hi,
> I wonder why nobody replies,

busy, summer of code patches to review ...

> but that might be my fault.
> The code with the division by zero is in
> line 370 in revision 14659 and
> line 347 in current revision.
> BTW why are there two means to get the bits per sample 
>   av_get_bits_per_sample(avctx->codec_id) and
>   avctx->bits_per_sample
> for an audio stream? Are there reasons?

who knows ...
avctx->bits_per_sample may be wrong when its explictly stored in the
format but its hyphothetical i am not aware of such a file

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- 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/20080815/dd63b671/attachment.pgp>

More information about the ffmpeg-devel mailing list