As I wrote in a previous entry, people have used avi for things which it was never designed. One of the more notable examples is multi-channel audio bitstreams. In addition, the people who make such files went as far as to do in the completely wrong manner. So, as a result, I looked for a way to rescue data from the avi format so it is actually usable.
Basically, use mkvmerge from mkvtoolnix to convert the avi file to an mkv file. Then, open the file with Perian, and save it as a .mov file. The result is a file which both has the proper framing for AC3 data, and also has the proper frame decode and display information. This means that one can do real AC3 passthrough on avi files. Maybe this will be the ultimate solution.