Index: trunk/src_plugins/io_bxl/bxl_decode.c =================================================================== --- trunk/src_plugins/io_bxl/bxl_decode.c (revision 30724) +++ trunk/src_plugins/io_bxl/bxl_decode.c (revision 30725) @@ -265,11 +265,15 @@ } for(; depth > 0; depth--) { - if (encoded[257-depth]) - printf("1"); - else - printf("0"); + if (ctx->after_first_bit) { + if (encoded[257-depth]) + printf("1"); + else + printf("0"); + } + ctx->after_first_bit = 1; } + htree_update(ctx->tree.nodeList[inchr]); return 0; } Index: trunk/src_plugins/io_bxl/bxl_decode.h =================================================================== --- trunk/src_plugins/io_bxl/bxl_decode.h (revision 30724) +++ trunk/src_plugins/io_bxl/bxl_decode.h (revision 30725) @@ -50,6 +50,7 @@ int hdr_pos; int hdr[4]; unsigned long int plain_len, opos; + unsigned after_first_bit:1; } hdecode_t; /* Initialize a decode context, before the first input byte is pushed.