compress: fix return value of is_codec_supported

The function return type of oops() is int, which
mismatches the boolean type of is_codec_supported.

Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
Change-Id: I892f232d8fb61c8bf8238f55c39c1978436fdb10
diff --git a/compress.c b/compress.c
index 7422c4b..ac2c73f 100644
--- a/compress.c
+++ b/compress.c
@@ -574,9 +574,11 @@
 		ops = &compr_hw_ops;
 
 	fd = ops->open(card, device, flags, &data, NULL);
-	if (fd < 0)
-		return oops(&bad_compress, errno, "cannot open card %u, device %u",
+	if (fd < 0) {
+		oops(&bad_compress, errno, "cannot open card %u, device %u",
 					card, device);
+		return false;
+	}
 
 	ret = _is_codec_type_supported(ops, data, codec);