summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRichard Boulton <richard@tartarus.org>2000-09-21 01:42:19 +0000
committerRichard Boulton <richard@tartarus.org>2000-09-21 01:42:19 +0000
commit41ad7a209bbc6042ca8252ce1c5f37e040a8644d (patch)
treeda3765dfed7b49d9e3b25e8fcd3feaa0386ba355 /libs
parent3bcccbf82e61b0beba3e15ea9e728c2c3b494437 (diff)
IDCT works, and ieeetest not complains nicely if attempt to run a test with an unsupported DCT type.
Original commit message from CVS: IDCT works, and ieeetest not complains nicely if attempt to run a test with an unsupported DCT type.
Diffstat (limited to 'libs')
-rw-r--r--libs/idct/ieeetest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/idct/ieeetest.c b/libs/idct/ieeetest.c
index 86e0ef0ae..396c25ee4 100644
--- a/libs/idct/ieeetest.c
+++ b/libs/idct/ieeetest.c
@@ -82,6 +82,11 @@ main(int argc, char **argv)
gst_library_load("gstidct");
idct = gst_idct_new(method);
+ if (idct == 0) {
+ printf("method not available\n\n\n");
+
+ return 0;
+ }
dct_init();