1
mirror of https://github.com/mpv-player/mpv synced 2024-11-07 01:47:00 +01:00

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

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27248 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-07-10 20:06:43 +00:00
parent 6f96a10094
commit 646838e446

View File

@ -396,7 +396,7 @@ static int demux_audio_open(demuxer_t* demuxer) {
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;