[FFmpeg-devel] [PATCH 2/6] lavu/channel_layout: implement unknown layouts.

Michael Niedermayer michaelni at gmx.at
Wed Nov 28 18:26:03 CET 2012


On Wed, Nov 28, 2012 at 04:14:17PM +0100, Nicolas George wrote:
> Unknown channel layouts are necessary when the channel layout
> is the authoritative source of information for the number of
> channels; it happens in libavfilter.
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>

i do not think this is a good idea.
IMHO if the layout is unknown it should be 0, the layout should never be
used to find the size of an array

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121128/b01fa902/attachment.asc>


More information about the ffmpeg-devel mailing list