From a9e886aea2912d401f07ca2d5eba2cfaa497fa53 Mon Sep 17 00:00:00 2001 From: mastertheknife Date: Sun, 6 Oct 2013 06:35:56 +0300 Subject: [PATCH] Fix small zipped images bug introduced by commit e12a9dc408 --- src/zm_event.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/zm_event.cpp b/src/zm_event.cpp index aa6474c69..e055124b9 100644 --- a/src/zm_event.cpp +++ b/src/zm_event.cpp @@ -1264,7 +1264,8 @@ bool EventStream::sendFrame( int delta_us ) img_buffer_size = zip_buffer_size; break; #else - Error("zlib is required for zipped images. Falling back to raw image"); + 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());