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:
parent
6f96a10094
commit
646838e446
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user