diff options
author | 2008-03-05 02:46:50 +0000 | |
---|---|---|
committer | 2008-03-05 02:46:50 +0000 | |
commit | 6b8b2a51e5fb84713599d53587faa7e7d9090540 (patch) | |
tree | 630da688e2520f12b29b6d876687f2fc8a1bce37 /libmpcodecs/ad_ffmpeg.c | |
parent | b5ed673f32e33363d94d8156bda052465b0c9121 (diff) |
Fix ffvorbis decoder's output channel order with channel reordering function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26164 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/ad_ffmpeg.c')
-rw-r--r-- | libmpcodecs/ad_ffmpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/ad_ffmpeg.c b/libmpcodecs/ad_ffmpeg.c index 4fa95ce89b..d569d0835d 100644 --- a/libmpcodecs/ad_ffmpeg.c +++ b/libmpcodecs/ad_ffmpeg.c @@ -175,6 +175,8 @@ static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int m src_ch_layout = AF_CHANNEL_LAYOUT_AAC_DEFAULT; else if (!strcasecmp(codec, "liba52")) src_ch_layout = AF_CHANNEL_LAYOUT_LAVC_LIBA52_DEFAULT; + else if (!strcasecmp(codec, "vorbis")) + src_ch_layout = AF_CHANNEL_LAYOUT_LAVC_VORBIS_DEFAULT; else src_ch_layout = AF_CHANNEL_LAYOUT_MPLAYER_DEFAULT; reorder_channel_nch(buf, src_ch_layout, |