[Mplayer-cvslog] CVS: 0_90/libmpdemux demux_audio.c,1.18,1.19
Arpi of Ize
arpi at mplayerhq.hu
Sat Mar 22 16:44:14 CET 2003
Update of /cvsroot/mplayer/0_90/libmpdemux
In directory mail:/var/tmp.root/cvs-serv605
Modified Files:
demux_audio.c
Log Message:
warning fix by Dominik
Index: demux_audio.c
===================================================================
RCS file: /cvsroot/mplayer/0_90/libmpdemux/demux_audio.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- demux_audio.c 17 Mar 2003 20:42:00 -0000 1.18
+++ demux_audio.c 22 Mar 2003 15:44:12 -0000 1.19
@@ -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