mp4parser icon indicating copy to clipboard operation
mp4parser copied to clipboard

Understand IndexOutOfBoundsException

Open divanshArora opened this issue 4 years ago • 0 comments

Hi Sebastian I am using this code in my application and getting IndexOutOfBoundsException in the asByteBuffer method. I see this being thrown. Could you please tell me how it is supposed to be handled (if it is) as I'm seeing an exception being thrown explicitly below:

https://github.com/sannies/mp4parser/blob/d3c68436f0507a23a740f262cf3259557ea9ce93/muxer/src/main/java/org/mp4parser/muxer/container/mp4/DefaultMp4SampleList.java#L233

I have looked at other issues as well regarding the index out of bound error but none seem to solve my issue.

divanshArora avatar Jul 27 '20 20:07 divanshArora