|
if (frameIdx >= blocks.size() || blockIdx >= blocks.size()) |
I'm working with an EAC-3 stream and it seems there are 8 packets in each block. I couldn't access all of the packets until I changed the above condition to:
if (frameIdx >= framesCount || blockIdx >= blocks.size())
jcodec/src/main/java/org/jcodec/containers/mkv/demuxer/MKVDemuxer.java
Line 493 in 784d4be
I'm working with an EAC-3 stream and it seems there are 8 packets in each block. I couldn't access all of the packets until I changed the above condition to:
if (frameIdx >= framesCount || blockIdx >= blocks.size())