| 508 | } |
| 509 | |
| 510 | static avifBool avifInputHasRemainingData(const avifInput * input, int imageIndex) |
| 511 | { |
| 512 | if (imageIndex < input->cacheCount) { |
| 513 | return AVIF_TRUE; |
| 514 | } |
| 515 | if (input->fileIndex >= input->filesCount) { |
| 516 | return AVIF_FALSE; |
| 517 | } |
| 518 | if (input->files[input->fileIndex].filename == AVIF_FILENAME_STDIN) { |
| 519 | return !feof(stdin); |
| 520 | } |
| 521 | return AVIF_TRUE; |
| 522 | } |
| 523 | |
| 524 | static avifBool avifInputReadImage(avifInput * input, |
| 525 | int imageIndex, |
no outgoing calls
no test coverage detected