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

Michael Niedermayer michaelni at gmx.at
Wed Nov 28 20:29:01 CET 2012


On Wed, Nov 28, 2012 at 06:35:01PM +0100, Nicolas George wrote:
> L'octidi 8 frimaire, an CCXXI, Michael Niedermayer a écrit :
> > 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
> 
> That may be valid, but right now, it is used for that, and it has been for
> quite a time. Changing it now is an API break. Shall we bump lavfi major
> right now, then? Or just refuse transcoding files with an unknown layout?

Iam not sure its a API break,
Currently if the layout is 0 or mismatching the channel count the
behavior is undefined. 
If we define that channel layout = 0 is allowed then this would only
add a definition where none was before.

but i may be missing something

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- 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/aad80003/attachment.asc>


More information about the ffmpeg-devel mailing list