libavutil/channel_layout: Correctly return layout when channel specification ends...
authorSimon Thelen <ffmpeg-dev@c-14.de>
Tue, 9 Jun 2015 02:55:57 +0000 (04:55 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 28 Jul 2015 00:33:56 +0000 (02:33 +0200)
commitfb22fc0c46bb4bee48cdcdf43c8cb1d18aa04e20
treee0414c800a8a1dc135daa88de90a518a535c9c37
parent062f63e46cd8d4d8094928ce78566e8fb0830aa5
libavutil/channel_layout: Correctly return layout when channel specification ends with a trailing 'c'.

Return layout when FF_API_GET_CHANNEL_LAYOUT_COMPAT is set even if the
layout itself is not in the deprecated style.

Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 83307a32eb0c9f0843f655c44bb65e3e999153f8)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/channel_layout.c