Hi again
The attached zip contains the init and a segment from an audio track of a CBCS encrypted stream:
[audio.zip](https://github.com/axiomatic-systems/Bento4/files/9674419/audio.zip)
This decrypts successfully in browser/official app, but bento4/Kodi/inputstream.adaptive is not currently handling this properly.

When trying to create a sampleinfotable it's missing data because there's no SAIZ/SAIO boxes, and the SENC box is effectively empty:
![image](https://user-images.githubusercontent.com/11909320/193027266-6ad86e89-bde1-411b-8882-682d89695af6.png)

This here actually creates the sampleinfotable: https://github.com/axiomatic-systems/Bento4/blob/5b7cc2500d514717a64675fcf631939494c074ce/Source/C%2B%2B/Core/Ap4CommonEncryption.cpp#L2828-L2838
But m_sampleCount is 0 (and probably more data missing too), no IVs are stored and ultimately calling DecryptSampleData fails here: https://github.com/axiomatic-systems/Bento4/blob/5b7cc2500d514717a64675fcf631939494c074ce/Source/C%2B%2B/Core/Ap4CommonEncryption.cpp#L2127

I'm hoping you can help with a solution or at least point me in the right direction. I've been at it for a couple of hours and tried a few things but now getting to the point of needing some help.

Thanks heaps.

edit: btw this is from the same stream/program with incorrect boxes in the video stream from issue #742 
Failing to correctly do AP4_CencSampleInfoTable::Create on particular file
This is a GitHub Issue
repo:Bento4
owner:axiomatic-systems
Title : Failing to correctly do AP4_CencSampleInfoTable::Create on particular file
Issue date:

--- start body ---
Hi again
The attached zip contains the init and a segment from an audio track of a CBCS encrypted stream:
[audio.zip](https://github.com/axiomatic-systems/Bento4/files/9674419/audio.zip)
This decrypts successfully in browser/official app, but bento4/Kodi/inputstream.adaptive is not currently handling this properly.

When trying to create a sampleinfotable it's missing data because there's no SAIZ/SAIO boxes, and the SENC box is effectively empty:
![image](https://user-images.githubusercontent.com/11909320/193027266-6ad86e89-bde1-411b-8882-682d89695af6.png)

This here actually creates the sampleinfotable: https://github.com/axiomatic-systems/Bento4/blob/5b7cc2500d514717a64675fcf631939494c074ce/Source/C%2B%2B/Core/Ap4CommonEncryption.cpp#L2828-L2838
But m_sampleCount is 0 (and probably more data missing too), no IVs are stored and ultimately calling DecryptSampleData fails here: https://github.com/axiomatic-systems/Bento4/blob/5b7cc2500d514717a64675fcf631939494c074ce/Source/C%2B%2B/Core/Ap4CommonEncryption.cpp#L2127

I'm hoping you can help with a solution or at least point me in the right direction. I've been at it for a couple of hours and tried a few things but now getting to the point of needing some help.

Thanks heaps.

edit: btw this is from the same stream/program with incorrect boxes in the video stream from issue #742 
--- end body ---

None