[FFmpeg-devel] [PATCH 2/3] avutil/channel_layout: add av_get_extended_channel_layout

Michael Niedermayer michael at niedermayer.cc
Sat Dec 31 18:00:23 EET 2016


On Mon, Dec 26, 2016 at 06:14:33PM +0100, Marton Balint wrote:
> Return a channel layout and the number of channels based on the specified name.
> 
> This function is similar to av_get_channel_layout(), but can also parse unknown
> channel layout specifications.
> 
> Unknown channel layout specifications are a decimal number and a capital 'C'
> suffix, in order to not break compatibility with the lowercase 'c' suffix,
> which is used for a guessed channel layout with the specified number of
> channels.
> 
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  doc/APIchanges             |  3 +++
>  doc/utils.texi             |  7 ++++++-
>  libavutil/channel_layout.c | 22 ++++++++++++++++++++++
>  libavutil/channel_layout.h | 14 ++++++++++++++
>  libavutil/version.h        |  2 +-
>  5 files changed, 46 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/APIchanges b/doc/APIchanges
> index fbeae7a..4c8123e 100644
> --- a/doc/APIchanges
> +++ b/doc/APIchanges
> @@ -15,6 +15,9 @@ libavutil:     2015-08-28
>  
>  API changes, most recent first:
>  
> +2016-xx-xx - xxxxxxx - lavu xx.xx.100 - channel_layout.h
> +  Add av_get_extended_channel_layout()
> +
>  2016-12-10 - xxxxxxx - lavu xx.xx.100- imgutils.h
>    Add av_image_check_size2()
>  
> diff --git a/doc/utils.texi b/doc/utils.texi
> index df887c7..a66532a 100644
> --- a/doc/utils.texi
> +++ b/doc/utils.texi
> @@ -725,13 +725,18 @@ layout for that number of channels (see the function
>  default layout.
>  
>  @item
> +a number of channels, in decimal, followed by 'C', yielding an unkown channel

"unkown" common typo

also what do people think about checking for common typos in fate-src ?
i suggested this previously and response was not to positive IIRC
but really it should be less work for all if fate straight tells about
common typos instead of wasting using review for this

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

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161231/56261495/attachment.sig>


More information about the ffmpeg-devel mailing list