[MPlayer-cvslog] r32638 - trunk/libmpdemux/demux_audio.c

reimar subversion at mplayerhq.hu
Sun Nov 21 13:25:01 CET 2010


Author: reimar
Date: Sun Nov 21 13:25:01 2010
New Revision: 32638

Log:
Fix WAVEFORMATEXTENSIBLE condition.

Modified:
   trunk/libmpdemux/demux_audio.c

Modified: trunk/libmpdemux/demux_audio.c
==============================================================================
--- trunk/libmpdemux/demux_audio.c	Sun Nov 21 13:20:22 2010	(r32637)
+++ trunk/libmpdemux/demux_audio.c	Sun Nov 21 13:25:01 2010	(r32638)
@@ -418,7 +418,7 @@ static int demux_audio_open(demuxer_t* d
       }
       stream_read(s,(char*)(w + 1),w->cbSize);
       l -= w->cbSize;
-      if (w->wFormatTag & 0xfffe && w->cbSize >= 22)
+      if (w->wFormatTag == 0xfffe && w->cbSize >= 22)
           sh_audio->format = av_le2ne16(((WAVEFORMATEXTENSIBLE *)w)->SubFormat);
     }
 


More information about the MPlayer-cvslog mailing list