| 178 | } |
| 179 | |
| 180 | static int read_bits2(Bits8 *bits, GetByteContext *gb) |
| 181 | { |
| 182 | int res; |
| 183 | |
| 184 | if (bits->fill == 0) { |
| 185 | bits->queue |= bytestream2_get_byte(gb); |
| 186 | bits->fill = 8; |
| 187 | } |
| 188 | res = bits->queue >> 6; |
| 189 | bits->queue <<= 2; |
| 190 | bits->fill -= 2; |
| 191 | |
| 192 | return res; |
| 193 | } |
| 194 | |
| 195 | static void fill_bits32(Bits32 *bits, GetByteContext *gb) |
| 196 | { |
no outgoing calls
no test coverage detected