mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-28 01:04:23 +01:00
Make sure to not set an output stream if the user hasn't requested it.
This commit is contained in:
parent
89fbaf8170
commit
a2390189f8
@ -232,7 +232,10 @@ int _tmain(int argc, _TCHAR* argv[])
|
||||
settings.iQuality = quality;
|
||||
settings.iNumCompressions = numCompressions;
|
||||
settings.iJobSize = numJobs;
|
||||
settings.logStream = &logStream;
|
||||
if(bSaveLog)
|
||||
settings.logStream = &logStream;
|
||||
else
|
||||
settings.logStream = NULL;
|
||||
|
||||
CompressedImage *ci = CompressImage(&img, settings);
|
||||
if(NULL == ci) {
|
||||
|
Loading…
Reference in New Issue
Block a user