diff recpt1/recpt1.c @ 7:407af34cfbd9

now falls back to encrypted recording when b25 decoder is not available
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 17 Feb 2009 11:52:26 +0900
parents d898fd27547f
children 6da603afd363
line wrap: on
line diff
--- a/recpt1/recpt1.c	Tue Feb 17 11:39:26 2009 +0900
+++ b/recpt1/recpt1.c	Tue Feb 17 11:52:26 2009 +0900
@@ -306,7 +306,8 @@
         dec = b25_startup(&dopt);
         if(!dec) {
             fprintf(stderr, "cannot start b25 decoder\n");
-            return 1;
+            fprintf(stderr, "fall back to encrypted recording\n");
+            use_b25 = 0;
         }
     }