forked from len0rd/rockbox
Fix red. Replace remaining MEM's mit MEMORYSIZE.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29190 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5d849a963e
commit
adf7224538
3 changed files with 4 additions and 4 deletions
|
@ -1134,7 +1134,7 @@ int flush;
|
|||
RESTORE();
|
||||
if (state->wsize || (state->mode < CHECK && out != strm->avail_out))
|
||||
if (updatewindow(strm, out)) {
|
||||
state->mode = MEM;
|
||||
state->mode = MEMORYSIZE;
|
||||
return Z_MEM_ERROR;
|
||||
}
|
||||
in -= strm->avail_in;
|
||||
|
@ -1190,7 +1190,7 @@ uInt dictLength;
|
|||
|
||||
/* copy dictionary to window */
|
||||
if (updatewindow(strm, strm->avail_out)) {
|
||||
state->mode = MEM;
|
||||
state->mode = MEMORYSIZE;
|
||||
return Z_MEM_ERROR;
|
||||
}
|
||||
if (dictLength > state->wsize) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue