Read AVIX chunks following the first RIFF AVI for large files (sequential reading frame-by-frame beyond the first chunk)
(long endPosition)
| 669 | |
| 670 | /** Read AVIX chunks following the first RIFF AVI for large files (sequential reading frame-by-frame beyond the first chunk) **/ |
| 671 | private void readAVIX(long endPosition) throws Exception, IOException { |
| 672 | if (verbose) |
| 673 | IJ.log("Trying to read AVIX"+timeString()); |
| 674 | int riffType = readInt(); |
| 675 | if (verbose) |
| 676 | IJ.log("File header: RIFF type='"+fourccString(riffType)+"' (should be 'AVIX')"); |
| 677 | if (riffType != FOURCC_AVIX) |
| 678 | throw new Exception("Not an AVI file."); |
| 679 | findFourccAndRead(FOURCC_movi, true, fileSize, true); //read movie data |
| 680 | } |
| 681 | |
| 682 | /** Find the next position of fourcc or LIST fourcc and read contents. |
| 683 | * Returns next position |
no test coverage detected