diff --git a/C/zstdmt/zstdmt_compress.c b/C/zstdmt/zstdmt_compress.c index 40d95cda..ee0d1f85 100644 --- a/C/zstdmt/zstdmt_compress.c +++ b/C/zstdmt/zstdmt_compress.c @@ -188,21 +188,6 @@ static size_t pt_write(ZSTDMT_CCtx * ctx, struct writelist *wl) /* move the entry to the done list */ list_move(&wl->node, &ctx->writelist_done); - /* write zero byte frame (9 bytes) for type identification */ - if (unlikely(wl->frame == 0)) { - unsigned char frame0[] = - { 0x28, 0xB5, 0x2F, 0xFD, 0x00, 0x48, 0x01, 0x00, 0x00 }; - ZSTDMT_Buffer b; - b.buf = frame0; - b.size = 9; - rv = ctx->fn_write(ctx->arg_write, &b); - if (rv < 0) - return mt_error(rv); - if (b.size != 9) - return ZSTDMT_ERROR(write_fail); - ctx->outsize += 9; - } - /* the entry isn't the currently needed, return... */ if (wl->frame != ctx->curframe) return 0;