This PR fixes that regression, and adds unit tests for supported audio formats. The change ensures that avformat_find_stream_info can run in the case of an audio file input.
The tests also demonstrate that AAC files are recognized, but parsed incorrectly, which is a longstanding bug. This will be addressed through a separate PR.
Parsing of audio metadata was broken with https://github.com/discord/lilliput/pull/145
This PR fixes that regression, and adds unit tests for supported audio formats. The change ensures that
avformat_find_stream_info
can run in the case of an audio file input.The tests also demonstrate that AAC files are recognized, but parsed incorrectly, which is a longstanding bug. This will be addressed through a separate PR.