mirror of https://github.com/odrling/Aegisub
Merge r3758 from trunk.
Originally committed to SVN as r3759.
This commit is contained in:
parent
b4e9cb085d
commit
8970178317
|
@ -395,8 +395,9 @@ do_fill_buffer:
|
|||
DWORD buf1sz, buf2sz;
|
||||
void *buf1, *buf2;
|
||||
|
||||
assert(bytes_needed > 0);
|
||||
assert(buffer_offset < bufSize);
|
||||
assert(bytes_needed <= bufSize);
|
||||
assert((DWORD)bytes_needed <= bufSize);
|
||||
|
||||
HRESULT res = bfr->Lock(buffer_offset, bytes_needed, &buf1, &buf1sz, &buf2, &buf2sz, 0);
|
||||
switch (res)
|
||||
|
|
Loading…
Reference in New Issue