From 5da19b53c6e16c6ff86ee9aab4f8d0b4b1c3be5d Mon Sep 17 00:00:00 2001 From: "S.N. Hemanth Meenakshisundaram" Date: Thu, 26 Aug 2010 00:38:25 +0000 Subject: Implement avcodec_get_channel_layout(). Patch by S.N. Hemanth Meenakshisundaram smeenaks:ucsd+edu. Originally committed as revision 24936 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/audioconvert.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavcodec/audioconvert.h') diff --git a/libavcodec/audioconvert.h b/libavcodec/audioconvert.h index 81b6cded39..1f93b5c336 100644 --- a/libavcodec/audioconvert.h +++ b/libavcodec/audioconvert.h @@ -59,6 +59,11 @@ enum SampleFormat avcodec_get_sample_fmt(const char* name); */ const char *avcodec_get_channel_name(int channel_id); +/** + * @return channel layout that matches name, 0 if no match + */ +int64_t avcodec_get_channel_layout(const char *name); + /** * Return description of channel layout */ -- cgit v1.2.3