MCPcopy Create free account
hub / github.com/AOMediaCodec/libavif / avifInputHasRemainingData

Function avifInputHasRemainingData

apps/avifenc.c:510–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510static 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
524static avifBool avifInputReadImage(avifInput * input,
525 int imageIndex,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected