also set upstream to error state
This commit is contained in:
parent
235dfb18cd
commit
51869a80f8
@ -3,4 +3,6 @@
|
||||
void bs_seterrorstate(struct bytestream* b) {
|
||||
b->cur = 1;
|
||||
b->max = 0;
|
||||
if (b->type == BSTREAM)
|
||||
bs_seterrorstate(b->u.bs);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user