diff recpt1/decoder.c @ 74:b6607f6e2851

good citizens never use gray code. wise people never watch TV.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 28 Nov 2009 00:12:05 +0900
parents 97fd2315114e
children
line wrap: on
line diff
--- a/recpt1/decoder.c	Wed Nov 18 13:12:44 2009 +0900
+++ b/recpt1/decoder.c	Sat Nov 28 00:12:05 2009 +0900
@@ -3,6 +3,8 @@
 
 #include "decoder.h"
 
+#ifdef HAVE_LIBARIB25
+
 decoder *
 b25_startup(decoder_options *opt)
 {
@@ -108,3 +110,32 @@
 
   return code;
 }
+
+#else
+
+/* functions */
+decoder *b25_startup(decoder_options *opt)
+{
+    return NULL;
+}
+
+int b25_shutdown(decoder *dec)
+{
+    return 0;
+}
+
+int b25_decode(decoder *dec,
+               ARIB_STD_B25_BUFFER *sbuf,
+               ARIB_STD_B25_BUFFER *dbuf)
+{
+    return 0;
+}
+
+int b25_finish(decoder *dec,
+               ARIB_STD_B25_BUFFER *sbuf,
+               ARIB_STD_B25_BUFFER *dbuf)
+{
+    return 0;
+}
+
+#endif