This question is for those familiar with the AVIF image format, and AOM Decoder.
While trying to open any AVIF image at all via the AOM decoder, which I built on Windows via Visual Studio 2019, I always get the error AOM_CODEC_UNSUP_BITSTREAM.
I traced it to the function decoder_peek_si_internal(), and the line of code that is returning the error is:
if (frame_marker != AOM_FRAME_MARKER) return AOM_CODEC_UNSUP_BITSTREAM;
frame_marker is always 0 on all the AVIF images I tested this with.
Can anyone please shed some light?
Thanks in advance.