fix decodecorpus incorrect frame generation

fix #1379
decodecorpus was generating one extraneous byte when `nbSeq==0`.
This is disallowed by the specification.

The reference decoder was just skipping the extraneous byte.
It is now stricter, and flag such situation as an error.
This commit is contained in:
Yann Collet
2018-10-20 18:56:21 -07:00
parent f2cff22804
commit f181799082
4 changed files with 9 additions and 6 deletions
Binary file not shown.
Binary file not shown.