mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
ICB: Remove calls to _flushall
This doesn't seem necessary and it's not a standard function
This commit is contained in:
parent
91d7f476f9
commit
df52fee40d
@ -40,10 +40,6 @@
|
||||
#include "engines/icb/jpeg.h"
|
||||
#include "engines/icb/global_objects_pc.h"
|
||||
|
||||
#ifndef _WIN32
|
||||
#define _flushall() fflush(NULL)
|
||||
#endif
|
||||
|
||||
namespace ICB {
|
||||
|
||||
// A.3.6 Figure A.6
|
||||
@ -152,11 +148,9 @@ void JpegDecoder::ReadMarker() {
|
||||
// We call ReadByte to make sure the problem
|
||||
// is not a premature EOF.
|
||||
(void)ReadByte();
|
||||
_flushall();
|
||||
// throw ("Unknown, unsupported, or reserved marker encountered");
|
||||
}
|
||||
}
|
||||
_flushall();
|
||||
}
|
||||
|
||||
void JpegDecoder::ReadHuffmanTable() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user