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.
This commit is contained in:
Richard Boulton 2000-09-21 01:42:19 +00:00
parent 3bcccbf82e
commit 41ad7a209b

View file

@ -82,6 +82,11 @@ main(int argc, char **argv)
gst_library_load("gstidct"); gst_library_load("gstidct");
idct = gst_idct_new(method); idct = gst_idct_new(method);
if (idct == 0) {
printf("method not available\n\n\n");
return 0;
}
dct_init(); dct_init();