diff recpt1/recpt1.c @ 105:0a9406f92f32

need not to unset use_splitter flag on fall back.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 26 Feb 2010 22:58:59 +0900
parents afd25d9ebef6
children d89f0da0a7e4
line wrap: on
line diff
--- a/recpt1/recpt1.c	Fri Feb 26 22:55:44 2010 +0900
+++ b/recpt1/recpt1.c	Fri Feb 26 22:58:59 2010 +0900
@@ -338,7 +338,6 @@
             if(code < 0) {
                 fprintf(stderr, "b25_decode failed (code=%d). fall back to encrypted recording.\n", code);
                 use_b25 = FALSE;
-                use_splitter = FALSE; /* should not split when decode failed */
             }
             else
                 buf = dbuf;
@@ -1043,7 +1042,6 @@
             fprintf(stderr, "Cannot start b25 decoder\n");
             fprintf(stderr, "Fall back to encrypted recording\n");
             use_b25 = FALSE;
-            use_splitter = FALSE; /* should not split when decode failed */
         }
     }
     /* initialize splitter */