fixed error handling for missing zlib.
authorkramm <kramm>
Wed, 23 Feb 2005 20:47:08 +0000 (20:47 +0000)
committerkramm <kramm>
Wed, 23 Feb 2005 20:47:08 +0000 (20:47 +0000)
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
 }