Changelog for HylaFAX
+* don't save null-data pages (26 May 2005)
* Add support for OpenServer 6 (24 May 2005)
* update config.guess and config.sub to current versions (24 May 2005)
* add Rockwell/Conexant Class 1.0 prototype config (18 May 2005)
case FCF_PRI_MPS: // PRI-MPS
case FCF_PRI_EOM: // PRI-EOM
case FCF_PRI_EOP: // PRI-EOP
+ if (!getRecvEOLCount()) {
+ // We have a null page, don't save it because it makes readers fail.
+ pageGood = false;
+ if (params.ec != EC_DISABLE) return (false);
+ }
if (prevPage && !pageGood) recvResetPage(tif);
if (signalRcvd == 0) tracePPM("RECV recv", lastPPM);
bool
Class1Modem::recvPageData(TIFF* tif, fxStr& emsg)
{
+ initializeDecoder(params);
/*
* T.30-A ECM mode requires a substantially different protocol than non-ECM faxes.
*/
hostDidCQ = modemCQ == 0 && checkQuality();
protoTrace("Copy quality checking performed by %s", hostDidCQ ? "host" : "modem");
+ initializeDecoder(params);
bool pageRecvd = recvPageDLEData(tif, hostDidCQ, params, emsg);
// be careful about flushing here -- otherwise we lose +FPTS codes
FaxModem::recvPageDLEData(TIFF* tif, bool checkQuality,
const Class2Params& params, fxStr& emsg)
{
- initializeDecoder(params);
u_int rowpixels = params.pageWidth(); // NB: assume rowpixels <= 4864
/*
* Data destined for the TIFF file is buffered in buf.
case DF_2DMMR:
{
decoderFd[1] = -1;
- initializeDecoder(params);
setupStartPage(tif, params);
u_int rowpixels = params.pageWidth(); // NB: assume rowpixels <= 4864
recvBuf = NULL; // just count lines, don't save it