Mercurial > mplayer.hg
changeset 9616:a6bbab17a87f
10l cbSize not inited for l=16.\n Could give problem in print_wave_header
author | rtognimp |
---|---|
date | Mon, 17 Mar 2003 20:38:23 +0000 |
parents | 54c252559ffd |
children | 0c3f11f96c74 |
files | libmpdemux/demux_audio.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_audio.c Mon Mar 17 11:37:28 2003 +0000 +++ b/libmpdemux/demux_audio.c Mon Mar 17 20:38:23 2003 +0000 @@ -170,6 +170,7 @@ w->nAvgBytesPerSec = stream_read_dword_le(s); w->nBlockAlign = stream_read_word_le(s); w->wBitsPerSample = sh_audio->samplesize = stream_read_word_le(s); + w->cbSize = 0; l -= 16; if (l > 0) { w->cbSize = stream_read_word_le(s);