Sasikala to join Panneerselvam for campaign work
#The issue is that the President of India has got an alliance between DMK and AIADMK.
Anything that can be of help to Indian voters is really appreciated.
The bitstream is completely OK. There are a few duplicates in the bitstream, though, which I don’t think are the root cause of the problems you’re seeing.
What’s more, the bits in the first 12 bytes are numbered 64-95 in the bitstream. But the checksum for those bytes is 411507218, and your decoder is computing the checksum for bytes 48-58 (it’s computing the XOR of the checksum with that range of bytes, because it’s in big-endian mode).
I see a few things you can try.
Try decoding the bitstream without any stage 2 checks. I think you’ll get the MVC flag correct.
Just to confirm, your decoder is checking the frame header. It’s checking the variable length ‘frame number’ for the first 728 bytes of the bitstream; bytes 6-7 come with that, and it’s the value 756 that you’re seeing.
Start decoding with the part of the bitstream that has multiple copies, i.e. bytes 16-53. And, starting at byte 16, try to check all of the bits from byte 16 to byte 29, and so on. That should be enough to get some of the duplicates identified.
If it’s still not working as expected, try looking at the initial checksum from start to the end of the bitstream.
It’s extremely unlikely the duplicates are the cause of this, but I thought I’d mention that bit anyway. (It’s not a duplicate of the original question.)
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.