Fix small zipped images bug introduced by commit e12a9dc408

This commit is contained in:
mastertheknife 2013-10-06 06:35:56 +03:00
parent b8f3124f1c
commit a9e886aea2
1 changed files with 2 additions and 1 deletions

View File

@ -1265,6 +1265,7 @@ bool EventStream::sendFrame( int delta_us )
break;
#else
Error("zlib is required for zipped images. Falling back to raw image");
type = STREAM_RAW;
#endif // HAVE_ZLIB_H
case STREAM_RAW :
img_buffer = (uint8_t*)(send_image->Buffer());