]> git.sesse.net Git - ffmpeg/commit
avutil/channel_layout: add av_get_extended_channel_layout
authorMarton Balint <cus@passwd.hu>
Mon, 26 Dec 2016 00:19:34 +0000 (01:19 +0100)
committerMarton Balint <cus@passwd.hu>
Tue, 24 Jan 2017 22:51:36 +0000 (23:51 +0100)
commitc4618f842a2de85097627763f02931afc3fde6d9
tree3ce0700ff1dfa7f52726aa984558c04cc3e5209f
parent5049f05f27c20f0606209bf3508e1157e0eabc9e
avutil/channel_layout: add av_get_extended_channel_layout

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@passwd.hu>
doc/APIchanges
doc/utils.texi
libavutil/channel_layout.c
libavutil/channel_layout.h
libavutil/version.h