Update buffer limit when peeking large box header in `HeifSniffer`
When sniffing a large HEIF/MP4 box where `atomSize == DEFINES_LARGE_SIZE`, `buffer.limit` needs to be updated to `LONG_HEADER_SIZE` before reading the 64-bit atom size. Also enable `ParsableByteArray` limit enforcement in `HeifExtractorTest`, `MotionPhotoPlaybackTest`, and `MetadataRetrieverTest` to prevent backsliding. PiperOrigin-RevId: 937228876
I
ibaker committed
8fa8f79080369f1a0348f2f006b7f5a8f1f2705b
Parent: 78ccedd
Committed by Copybara-Service <copybara-worker@google.com>
on 6/24/2026, 10:40:20 AM