Commit b7210950 authored by Thomas Daede's avatar Thomas Daede

Fix encoding of number of tiles.

parent 99193a8c
......@@ -187,10 +187,8 @@ fn write_uncompressed_header(packet: &mut Write, sequence: &Sequence, fi: &Frame
//uch.write_bit(false)?; // use hybrid pred
//uch.write_bit(false)?; // use compound pred
uch.write_bit(true)?; // reduced tx
//uch.write(1,0)?; // tile cols
uch.write(1,0)?; // tile cols
uch.write(1,0)?; // tile rows
uch.write_bit(true)?; // loop filter across tiles
uch.write(2,0)?; // tile_size_bytes
//println!("compressed header length: {}", compressed_len);
uch.write(16,compressed_len)?; // compressed header length
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