[FFmpeg-devel] [PATCH] PCM: fail gracefully if the audio parameters are wrong.

Nicolas George nicolas.george
Thu Apr 10 20:04:23 CEST 2008

Le duodi 22 germinal, an CCXVI, Michael Niedermayer a ?crit?:
> First there are tabs

I forgot to check that point, and I apologize for the wasted time.

> Second the patch is fundamentally wrong as neither sample rate nor channels
> are needed for demuxing raw.

This point raises the question: what assumptions can be made about the
streams shown by lavc? In particular, is it legal to assume that:

- an audio stream has never a 0 channels count?

- the denominator of the time_base is never 0?


  Nicolas George
-------------- 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/20080410/19d90747/attachment.pgp>

More information about the ffmpeg-devel mailing list