projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3bcccbf
)
IDCT works, and ieeetest not complains nicely if attempt to run a test with an unsupp...
author
Richard Boulton
<richard@tartarus.org>
Thu, 21 Sep 2000 01:42:19 +0000
(
01:42
+0000)
committer
Richard Boulton
<richard@tartarus.org>
Thu, 21 Sep 2000 01:42:19 +0000
(
01:42
+0000)
Original commit message from CVS:
IDCT works, and ieeetest not complains nicely if attempt to run a test
with an unsupported DCT type.
libs/idct/ieeetest.c
patch
|
blob
|
history
diff --git
a/libs/idct/ieeetest.c
b/libs/idct/ieeetest.c
index
86e0ef0
..
396c25e
100644
(file)
--- 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();