Mercurial > pt1.oyama
diff recpt1/recpt1.c @ 104:afd25d9ebef6
output ECM packet so that former workaround is no longer needed.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Fri, 26 Feb 2010 22:55:44 +0900 |
parents | 387d18563ef8 |
children | 0a9406f92f32 |
line wrap: on
line diff
--- a/recpt1/recpt1.c Fri Feb 26 19:46:03 2010 +0900 +++ b/recpt1/recpt1.c Fri Feb 26 22:55:44 2010 +0900 @@ -345,7 +345,7 @@ } - if(use_b25 && use_splitter) { + if(use_splitter) { splitbuf.size = 0; while(buf.size) { @@ -436,7 +436,7 @@ buf = dbuf; } - if(use_b25 && use_splitter) { + if(use_splitter) { /* $BJ,N%BP>]0J30$r$U$k$$Mn$H$9(B */ code = split_ts(splitter, &buf, &splitbuf); if(code != TSS_SUCCESS) { @@ -1048,15 +1048,10 @@ } /* initialize splitter */ if(use_splitter) { - if(!use_b25) { - fprintf(stderr, "TS splitter does not work without b25 decoder currently.\n"); - } - else { - splitter = split_startup(sid_list); - if(splitter->sid_list == NULL) { - fprintf(stderr, "Cannot start TS splitter\n"); - return 1; - } + splitter = split_startup(sid_list); + if(splitter->sid_list == NULL) { + fprintf(stderr, "Cannot start TS splitter\n"); + return 1; } }