Commit 9cfcd628 authored by Moritz Bunkus's avatar Moritz Bunkus

AV1: avoid implicit narrowing conversion

parent 1fa1c4c9
......@@ -412,7 +412,7 @@ parser_c::parse_obu() {
return true;
}
mtx::bits::reader_c sub_r{p->buffer.get_buffer() + (r.get_bit_position() / 8), *obu_size};
mtx::bits::reader_c sub_r{p->buffer.get_buffer() + (r.get_bit_position() / 8), static_cast<std::size_t>(*obu_size)};
if (p->obu_type == OBU_SEQUENCE_HEADER) {
parse_sequence_header_obu(sub_r);
......
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