Aaargh! (or a missing AVERROR_EOF)
Updating API from more forgiving ffmpeg to more strict libav