Mercurial > mplayer.hg
changeset 9655:8809e2be5cea
Warning fix, patch by Dominik Mierzejewsky
author | rtognimp |
---|---|
date | Sat, 22 Mar 2003 20:15:03 +0000 |
parents | ee7203b48e7c |
children | ef5ae9f9c6e6 |
files | libmpdemux/demux_audio.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_audio.c Sat Mar 22 19:50:10 2003 +0000 +++ b/libmpdemux/demux_audio.c Sat Mar 22 20:15:03 2003 +0000 @@ -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);