fixed error handling for missing zlib.
[swftools.git] / lib / bitio.c
index b3cdf24..7397604 100644 (file)
@@ -395,6 +395,7 @@ void reader_init_zlibinflate(struct reader_t*r, struct reader_t*input)
     reader_resetbits(r);
 #else
     fprintf(stderr, "Error: swftools was compiled without zlib support");
+    exit(1);
 #endif
 }