diff options
author | Richard Boulton <richard@tartarus.org> | 2000-09-21 01:42:19 +0000 |
---|---|---|
committer | Richard Boulton <richard@tartarus.org> | 2000-09-21 01:42:19 +0000 |
commit | 41ad7a209bbc6042ca8252ce1c5f37e040a8644d (patch) | |
tree | da3765dfed7b49d9e3b25e8fcd3feaa0386ba355 /libs | |
parent | 3bcccbf82e61b0beba3e15ea9e728c2c3b494437 (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.c | 5 |
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(); |