mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-05 21:55:37 +01:00
avformat/evc: fix writing reserved bits
They are all zeroes, not ones. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -257,10 +257,10 @@ static int evcc_write(AVIOContext *pb, EVCDecoderConfigurationRecord *evcc)
|
||||
avio_wb16(pb, evcc->pic_height_in_luma_samples);
|
||||
|
||||
/*
|
||||
* bit(6) reserved = '111111'b;
|
||||
* unsigned int(2) chromaFormat;
|
||||
* unsigned int(6) reserved = '000000'b;
|
||||
* unsigned int(2) lengthSizeMinusOne;
|
||||
*/
|
||||
avio_w8(pb, evcc->lengthSizeMinusOne | 0xfc);
|
||||
avio_w8(pb, evcc->lengthSizeMinusOne & 0x3);
|
||||
|
||||
/* unsigned int(8) numOfArrays; */
|
||||
avio_w8(pb, evcc->num_of_arrays);
|
||||
|
||||
Reference in New Issue
Block a user