[Mplayer-cvslog] CVS: main/libmpdemux demux_audio.c,1.19,1.20

Roberto Togni CVS rtognimp at mplayerhq.hu
Sat Mar 22 21:15:26 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv19298

Modified Files:
	demux_audio.c 
Log Message:
Warning fix, patch by Dominik Mierzejewsky

Index: demux_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_audio.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- demux_audio.c	17 Mar 2003 20:38:23 -0000	1.19
+++ demux_audio.c	22 Mar 2003 20:15:03 -0000	1.20
@@ -175,7 +175,7 @@
     if (l > 0) {
     w->cbSize = stream_read_word_le(s);
     l -= 2;
-    if (w->cbSize > 0)
+     if (w->cbSize > 0) {
       if (l < w->cbSize) {
         mp_msg(MSGT_DEMUX,MSGL_ERR,"[demux_audio] truncated extradata (%d < %d)\n",
 	l,w->cbSize);
@@ -185,6 +185,7 @@
         stream_read(s,(char*)((char*)(w)+sizeof(WAVEFORMATEX)),w->cbSize);
         l -= w->cbSize;
       }
+     }
     }
 
     if(verbose>0) print_wave_header(w);



More information about the MPlayer-cvslog mailing list