Fix small zipped images bug introduced by commit e12a9dc408
This commit is contained in:
parent
b8f3124f1c
commit
a9e886aea2
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue