mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +00:00
Make the compiler happy (and count == 0 an error).
This commit is contained in:
parent
e14bcb1b24
commit
10557b0205
@ -342,7 +342,7 @@ static int
|
||||
bitcopy(bit_reader_t &r,
|
||||
bit_writer_t &w,
|
||||
int count) {
|
||||
int bit, v = 0;
|
||||
int bit = -1, v = 0;
|
||||
|
||||
while (count-- && (bit = r.bit()) >= 0)
|
||||
w.bit(bit), v = (v << 1) | bit;
|
||||
|
Loading…
Reference in New Issue
Block a user