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

reimar subversion at mplayerhq.hu
Thu Jul 10 22:06:43 CEST 2008


Author: reimar
Date: Thu Jul 10 22:06:43 2008
New Revision: 27248

Log:
100l, assignment introduced in r27246 was exactly the wrong way around.


Modified:
   trunk/libmpdemux/demux_audio.c

Modified: trunk/libmpdemux/demux_audio.c
==============================================================================
--- trunk/libmpdemux/demux_audio.c	(original)
+++ trunk/libmpdemux/demux_audio.c	Thu Jul 10 22:06:43 2008
@@ -396,7 +396,7 @@ static int demux_audio_open(demuxer_t* d
       if (l < w->cbSize) {
         mp_msg(MSGT_DEMUX,MSGL_ERR,"[demux_audio] truncated extradata (%d < %d)\n",
                l,w->cbSize);
-        l = w->cbSize;
+        w->cbSize = l;
       }
       stream_read(s,(char*)((char*)(w)+sizeof(WAVEFORMATEX)),w->cbSize);
       l -= w->cbSize;



More information about the MPlayer-cvslog mailing list