Commit 5273fd79 authored by Mans Rullgard's avatar Mans Rullgard

sfbits: reset bufpos/bufend on init

parent 16b1ad74
......@@ -100,5 +100,7 @@ void init_bits_sf(struct bitreader *b, SNDFILE *f, int xbit)
b->fill_bits = fill_bits;
file = f;
bufpos = 0;
bufend = 0;
xorbit = xbit + 8;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment