avidec: handle 0-size packets that exist only in index.