diff options
author | 2010-11-21 12:25:44 +0000 | |
---|---|---|
committer | 2010-12-16 04:23:53 +0200 | |
commit | 5e6c4de69e157301204a543b108b40d513983e3e (patch) | |
tree | e828f74bd75a55a3fc1034c509d5afd813d6f573 /libmpdemux/demux_audio.c | |
parent | 9ffc22923ee7b705a30b7b6ad4704cdc8828a16a (diff) |
demux_avi: Add WAVEFORMATEXTENSIBLE support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32639 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_audio.c')
-rw-r--r-- | libmpdemux/demux_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_audio.c b/libmpdemux/demux_audio.c index 6d8b891cd7..327c6ddfce 100644 --- a/libmpdemux/demux_audio.c +++ b/libmpdemux/demux_audio.c @@ -415,7 +415,7 @@ static int demux_audio_open(demuxer_t* demuxer) { stream_read(s,(char*)(w + 1),w->cbSize); l -= w->cbSize; if (w->wFormatTag == 0xfffe && w->cbSize >= 22) - sh_audio->format = av_le2ne16(((WAVEFORMATEXTENSIBLE *)w)->SubFormat); + sh_audio->format = le2me_16(((WAVEFORMATEXTENSIBLE *)w)->SubFormat); } if( mp_msg_test(MSGT_DEMUX,MSGL_V) ) print_wave_header(w, MSGL_V); |