forked from FFmpeg/FFmpeg
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:
parent
5191339f74
commit
4e608e90eb
2 changed files with 4 additions and 4 deletions
|
@ -257,10 +257,10 @@ static int evcc_write(AVIOContext *pb, EVCDecoderConfigurationRecord *evcc)
|
||||||
avio_wb16(pb, evcc->pic_height_in_luma_samples);
|
avio_wb16(pb, evcc->pic_height_in_luma_samples);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* bit(6) reserved = '111111'b;
|
* unsigned int(6) reserved = '000000'b;
|
||||||
* unsigned int(2) chromaFormat;
|
* unsigned int(2) lengthSizeMinusOne;
|
||||||
*/
|
*/
|
||||||
avio_w8(pb, evcc->lengthSizeMinusOne | 0xfc);
|
avio_w8(pb, evcc->lengthSizeMinusOne & 0x3);
|
||||||
|
|
||||||
/* unsigned int(8) numOfArrays; */
|
/* unsigned int(8) numOfArrays; */
|
||||||
avio_w8(pb, evcc->num_of_arrays);
|
avio_w8(pb, evcc->num_of_arrays);
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
885fb330b20632b88ef9d7fb03dfa2e9 *tests/data/lavf-fate/lavf.evc.mp4
|
bebb66fc3e13ece081d1aa96802e3c1f *tests/data/lavf-fate/lavf.evc.mp4
|
||||||
37386 tests/data/lavf-fate/lavf.evc.mp4
|
37386 tests/data/lavf-fate/lavf.evc.mp4
|
||||||
tests/data/lavf-fate/lavf.evc.mp4 CRC=0x48063f85
|
tests/data/lavf-fate/lavf.evc.mp4 CRC=0x48063f85
|
||||||
|
|
Loading…
Add table
Reference in a new issue