• Marton Balint's avatar
    avutil/channel_layout: add av_get_extended_channel_layout · c4618f84
    Marton Balint authored
    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: 's avatarMarton Balint <cus@passwd.hu>
    c4618f84
channel_layout.c 9.2 KB